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-0.3.0.tar.gz (29.3 kB view details)

Uploaded Source

Built Distribution

circuitpython_functools-0.3.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for circuitpython-functools-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3bea5ef040d7bf43cd7b1fdc9edf222bca26b9ae37a50dccaa3e63d3040ff0fe
MD5 a4eb3c5531b88a6a88554d81a7376fb5
BLAKE2b-256 785b6d7420d560458f62c972457ab7579930746b62c25eef24ea8b3df91b8420

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for circuitpython_functools-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd462c34bf9f5308b001ae8cda2685e5c8630368855ee6a8b8219462f6b6df02
MD5 6bac96a01e16ac04c4eb6af0ec2ec5bc
BLAKE2b-256 aadf9abdc11a71fb02586b4f1cc9a8357975aba9acf915c36a14c95be415ff48

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