Skip to main content

A CircuitPython implementation of CPython's functools library

Project description

Introduction

Documentation Status Discord Build Status Code Style: Black

A CircuitPython implementation of CPython’s functools library

Dependencies

This driver depends on:

Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle or individual libraries can be installed using circup.

Installing to a Connected CircuitPython Device with Circup

Make sure that you have circup installed in your Python environment. Install it with the following command if necessary:

pip3 install circup

With circup installed and your CircuitPython device connected use the following command to install:

circup install functools

Or the following command to update an existing version:

circup update

Installing from PyPI

On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:

pip3 install circuitpython-functools

To install system-wide (this may be required in some cases):

sudo pip3 install circuitpython-functools

To install in a virtual environment in your current project:

mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install circuitpython-functools

Usage Example

See examples in the examples/ folder

Documentation

API documentation for this library can be found on Read the Docs.

For information on building library documentation, please check out this guide.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

circuitpython-functools-1.0.1.tar.gz (29.2 kB view details)

Uploaded Source

Built Distribution

circuitpython_functools-1.0.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file circuitpython-functools-1.0.1.tar.gz.

File metadata

File hashes

Hashes for circuitpython-functools-1.0.1.tar.gz
Algorithm Hash digest
SHA256 e397fa4045a66b3fa6162396080c2ac7cc5ca5fa99f1478c350662dac7a46391
MD5 09dea631637492cf644dc0f0ab20ddea
BLAKE2b-256 48c1bebf35c86e200c6d41a0cc21fb0e6ed3f5846981ccc21a43f68f9b013cfe

See more details on using hashes here.

File details

Details for the file circuitpython_functools-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for circuitpython_functools-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 737aa04c5964f386c12e15dec9a86d0afe76384c8de95112a6d0cd88b8c7f83b
MD5 6f11b6a76279ed4f5076c15744b9daf6
BLAKE2b-256 bbd030ff0466b054e56282c7e8647da1eb15acd27d54788ce52059bdb108636d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page