{"id":14971355,"url":"https://github.com/tekktrik/circuitpython_csv","last_synced_at":"2026-02-18T18:04:36.919Z","repository":{"id":37049100,"uuid":"421670645","full_name":"tekktrik/CircuitPython_CSV","owner":"tekktrik","description":"CircuitPython helper library for working with CSV files","archived":false,"fork":false,"pushed_at":"2025-01-24T05:09:20.000Z","size":134,"stargazers_count":6,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T00:53:56.512Z","etag":null,"topics":["circuitpython-library"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tekktrik.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-27T04:00:52.000Z","updated_at":"2025-01-24T05:13:10.000Z","dependencies_parsed_at":"2024-09-03T09:54:18.960Z","dependency_job_id":"45e6890d-cbee-4279-9632-21faf5746079","html_url":"https://github.com/tekktrik/CircuitPython_CSV","commit_stats":{"total_commits":91,"total_committers":4,"mean_commits":22.75,"dds":"0.43956043956043955","last_synced_commit":"50a3dc35615b9858eaa41857837be68ea2273771"},"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tekktrik%2FCircuitPython_CSV","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tekktrik%2FCircuitPython_CSV/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tekktrik%2FCircuitPython_CSV/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tekktrik%2FCircuitPython_CSV/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tekktrik","download_url":"https://codeload.github.com/tekktrik/CircuitPython_CSV/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238347897,"owners_count":19457012,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["circuitpython-library"],"created_at":"2024-09-24T13:45:04.690Z","updated_at":"2025-10-26T15:30:23.393Z","avatar_url":"https://github.com/tekktrik.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Introduction\n============\n\n\n.. image:: https://readthedocs.org/projects/circuitpython-csv/badge/?version=latest\n    :target: https://circuitpython-csv.readthedocs.io/\n    :alt: Documentation Status\n\n\n.. image:: https://img.shields.io/discord/327254708534116352.svg\n    :target: https://adafru.it/discord\n    :alt: Discord\n\n\n.. image:: https://github.com/tekktrik/Circuitpython_CircuitPython_CSV/workflows/Build%20CI/badge.svg\n    :target: https://github.com/tekktrik/Circuitpython_CircuitPython_CSV/actions\n    :alt: Build Status\n\n\n.. image:: https://img.shields.io/badge/code%20style-ruff-000000.svg\n    :target: https://github.com/astral-sh/ruff\n    :alt: Code Style: ruff\n\n\n.. image:: https://img.shields.io/badge/License-MIT-yellow.svg\n    :target: https://opensource.org/licenses/MIT\n    :alt: License: MIT\n\n\n.. image:: https://img.shields.io/badge/License-PSF_2.0-yellow.svg\n    :target: https://opensource.org/license/python-2-0\n    :alt: License: PSF-2.0\n\n\n.. image:: https://img.shields.io/badge/Maintained%3F-yes-green.svg\n    :target: https://github.com/tekktrik/CircuitPython_CSV\n    :alt: Maintained: Yes\n\n\nCircuitPython helper library for working with CSV files\n\n\nDependencies\n=============\nThis driver depends on:\n\n* `Adafruit CircuitPython \u003chttps://github.com/adafruit/circuitpython\u003e`_\n* `MicroPython's regular expression library (re) \u003chttps://circuitpython.readthedocs.io/en/latest/docs/library/re.html\u003e`_\n\nYou can find which Adafruit boards have the ``re`` library `here \u003chttps://circuitpython.readthedocs.io/en/latest/shared-bindings/support_matrix.html\u003e`_.\n\nPlease ensure all dependencies are available on the CircuitPython filesystem.\nThis is easily achieved by downloading\n`the Adafruit library and driver bundle \u003chttps://circuitpython.org/libraries\u003e`_\nor individual libraries can be installed using\n`circup \u003chttps://github.com/adafruit/circup\u003e`_.\n\nInstalling to a Connected CircuitPython Device with Circup\n==========================================================\n\nMake sure that you have ``circup`` installed in your Python environment.\nInstall it with the following command if necessary:\n\n.. code-block:: shell\n\n    pip3 install circup\n\nWith ``circup`` installed and your CircuitPython device connected use the\nfollowing command to install:\n\n.. code-block:: shell\n\n    circup install circuitpython-csv\n\nOr the following command to update an existing version:\n\n.. code-block:: shell\n\n    circup update\n\nInstalling from PyPI\n====================\n\n.. note::\n\n    This library is provided on PyPI so that code developed for microcontrollers with this\n    library will also run on computers like the Raspberry Pi.  If you just need a package\n    for working with CSV files on a computer or SBC only, consider using the Python standard\n    library's ``csv`` module instead.\n\nOn supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally `from\nPyPI \u003chttps://pypi.org/project/circuitpython-csv/\u003e`_. To install for current user:\n\n.. code-block:: shell\n\n    pip3 install circuitpython-csv\n\nTo install system-wide (this may be required in some cases):\n\n.. code-block:: shell\n\n    sudo pip3 install circuitpython-csv\n\nTo install in a virtual environment in your current project:\n\n.. code-block:: shell\n\n    mkdir project-name \u0026\u0026 cd project-name\n    python3 -m venv .venv\n    source .venv/bin/activate\n    pip3 install circuitpython-csv\n\nUsage Example\n=============\n\n.. code-block:: python\n\n    import board\n    import sdcardio\n    import storage\n    import circuitpython_csv as csv\n\n    # Initialize SD card\n    spi = board.SPI()\n    sdcard = sdcardio.SDCard(spi, board.D10)\n    vfs = storage.VfsFat(sdcard)\n    storage.mount(vfs, \"/sd\")\n\n    # Write the CSV file!\n    with open(\"/sd/testwrite.csv\", mode=\"w\", encoding=\"utf-8\") as writablefile:\n        csvwriter = csv.writer(writablefile)\n        csvwriter.writerow([\"I\", \"love\", \"CircuitPython\", \"!\"])\n        csvwriter.writerow([\"Spam\"] * 3)\n\n\nContributing\n============\n\nContributions are welcome! Please read our `Code of Conduct\n\u003chttps://github.com/tekktrik/Circuitpython_CircuitPython_CSV/blob/HEAD/CODE_OF_CONDUCT.md\u003e`_\nbefore contributing to help this project stay welcoming.\n\nDocumentation\n=============\n\nFor information on building library documentation, please check out\n`this guide \u003chttps://learn.adafruit.com/creating-and-sharing-a-circuitpython-library/sharing-our-docs-on-readthedocs#sphinx-5-1\u003e`_.\n\nAttribution\n===========\n\nSome code contained here is ported from CPython, dual licensed by the Python Software Foundation under the PSF License verion 2 and the Zero-Clause BSD license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftekktrik%2Fcircuitpython_csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftekktrik%2Fcircuitpython_csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftekktrik%2Fcircuitpython_csv/lists"}