No description
Find a file
Jeff Epler 614eded02a getenv: Make os.getenv() show a better error
.. when an associated value is not a quoted string.
This includes some cases where it would previously return an
integer, a CPython incompatibility.

However, it's an incompatible behavior change with circuitpython
since previously a number would be returned.

Closes: #9113

Signed-off-by: Jeff Epler <jepler@gmail.com>
2025-06-14 18:57:28 +02:00
.codespell add formatting/spelling exceptions 2024-07-29 18:59:59 -04:00
.devcontainer fixed URL (has 14.2 twice in the url) 2025-06-05 14:17:57 +02:00
.github Update ping action version 2025-05-31 12:18:41 -04:00
data Update data/nvm.toml to fix CI problem. 2025-04-14 10:09:37 -07:00
devices/ble_hci Fix -Wold-style-definion errors in the raspberrypi port 2025-05-25 09:16:00 +02:00
docs add the prepare readme python script 2025-05-08 09:16:18 -05:00
examples non-conflict merge changes 2024-09-05 14:54:18 -04:00
extmod Make collect the default 2025-04-24 14:59:07 -07:00
frozen update frozen libraries, especially asyncio 2025-04-14 20:29:34 -04:00
lib Update tinyusb to improve direct USB host 2025-05-14 11:32:38 -07:00
LICENSES updates before header conversion 2024-05-17 14:56:28 -04:00
locale getenv: Make os.getenv() show a better error 2025-06-14 18:57:28 +02:00
logo non-conflict merge changes 2024-09-05 14:54:18 -04:00
mpy-cross restore mpy-cross STATIC_BUILD checking 2025-05-30 08:14:57 -04:00
ports Merge pull request #9955 from hierophect/esp-microros 2025-06-11 18:39:33 -04:00
py Merge remote-tracking branch 'upstream/main' into esp-microros 2025-06-11 12:52:38 -04:00
shared Revert PR #10301, obsoleted by PR #10325. 2025-05-10 16:26:00 -07:00
shared-bindings getenv: Make os.getenv() show a better error 2025-06-14 18:57:28 +02:00
shared-module getenv: Make os.getenv() show a better error 2025-06-14 18:57:28 +02:00
supervisor Merge pull request #10381 from dhalbert/nrf-ble-deep-sleep-recovery 2025-05-28 10:49:14 -07:00
tests getenv: Make os.getenv() show a better error 2025-06-14 18:57:28 +02:00
tools Merge remote-tracking branch 'upstream/main' into esp-microros 2025-06-11 12:52:38 -04:00
.codespellrc fix typos (partial) detected by codepell 2023-03-18 22:17:02 +07:00
.git-blame-ignore-revs top: Update .git-blame-ignore-revs for latest format/spell commits. 2024-03-07 16:29:46 +11:00
.gitattributes merge from main 2024-07-29 17:41:46 -04:00
.gitignore Add submodule for prebuilt MicroROS libs 2025-05-06 12:58:20 -04:00
.gitmodules Add submodule for prebuilt MicroROS libs 2025-05-06 12:58:20 -04:00
.mailmap More updates to mailmap based on git shortlog inspection 2024-07-26 12:40:04 -05:00
.pre-commit-config.yaml clean up .pre-commit-config.yaml 2025-03-30 19:27:01 -04:00
.readthedocs.yml non-conflict merge changes 2024-09-05 14:54:18 -04:00
.rosie.yml Add license to some obvious files. 2020-07-06 19:16:25 +01:00
ACKNOWLEDGEMENTS Merge MicroPython 1.12 into CircuitPython 2021-05-03 14:01:18 -07:00
ACKNOWLEDGEMENTS.license Add license to some obvious files. 2020-07-06 19:16:25 +01:00
BUILDING.md rename ports/nrf to ports/nordic 2024-03-19 17:36:57 -04:00
CODE_OF_CONDUCT.md Fix up Contributor Covenant homepage link 2023-04-10 15:33:38 +12:00
conf.py Resolve Python Logger warnings 2025-05-14 10:55:23 -07:00
CONTRIBUTING.md fix documentation typo 2024-08-23 03:42:31 +00:00
LICENSE non-conflict merge changes 2024-09-05 14:54:18 -04:00
LICENSE_MicroPython non-conflict merge changes 2024-09-05 14:54:18 -04:00
main.c Merge pull request #10381 from dhalbert/nrf-ble-deep-sleep-recovery 2025-05-28 10:49:14 -07:00
Makefile Fix wrong python command in Makefile 2025-05-10 20:15:48 +02:00
MANIFEST.in-stubs refine stubs-building procedure 2021-06-22 08:59:05 -05:00
pyproject.toml Switch to ruff like MicroPython 2025-02-05 11:09:15 -08:00
README.rst Document safe mode wait in README. 2025-01-02 21:51:11 +00:00
README.rst-stubs Actually reduce the README text for the stubs package 2021-06-24 13:41:01 -05:00
requirements-ci.txt only install awscli when required 2023-01-16 17:03:39 +05:30
requirements-dev.txt require specific ruff version 2025-02-06 19:03:15 -06:00
requirements-doc.txt pin sphinx temporarily while debugging doc build 2024-10-10 18:48:22 -04:00
runtime.py Switch to ruff like MicroPython 2025-02-05 11:09:15 -08:00
setup.py-stubs Fix version in circuitpython-stubs 2025-01-10 15:24:05 -06:00
WEBUSB_README.md Rename esp32s2 port to espressif 2021-09-13 16:44:55 -07:00

CircuitPython
=============

.. image:: https://s3.amazonaws.com/adafruit-circuit-python/CircuitPython_Repo_header_logo.png

|Build Status| |Doc Status| |License| |Discord| |Weblate|

`circuitpython.org <https://circuitpython.org>`__ \| `Get CircuitPython <#get-circuitpython>`__ \|
`Documentation <#documentation>`__ \| `Contributing <#contributing>`__ \|
`Branding <#branding>`__ \| `Differences from Micropython <#differences-from-micropython>`__ \|
`Project Structure <#project-structure>`__

**CircuitPython** is a *beginner friendly*, open source version of Python for tiny, inexpensive
computers called microcontrollers.

This package contains the "stubs", or type definitions for CircuitPython.  With some advanced
editors and other tools, this information can be identify TypeErrors, AttributeErrors, and other
problems before you deploy your code to a device and can even help autocomplete your code.

.. |Build Status| image:: https://github.com/adafruit/circuitpython/workflows/Build%20CI/badge.svg
   :target: https://github.com/adafruit/circuitpython/actions?query=branch%3Amain
.. |Doc Status| image:: https://readthedocs.org/projects/circuitpython/badge/?version=latest
   :target: http://circuitpython.readthedocs.io/
.. |Discord| image:: https://img.shields.io/discord/327254708534116352.svg
   :target: https://adafru.it/discord
.. |License| image:: https://img.shields.io/badge/License-MIT-brightgreen.svg
   :target: https://choosealicense.com/licenses/mit/
.. |Weblate| image:: https://hosted.weblate.org/widgets/circuitpython/-/svg-badge.svg
   :target: https://hosted.weblate.org/engage/circuitpython/?utm_source=widget