Fyrefly
Simple, flexible functions to add, multiply, and divide any count of numbers.
Installation
pip install fyrefly
Usage
from fyrefly import add, mul, div
add(5, 4, 6, 10) # 25
mul(5, 4, 6, 10) # 1200
div(100, 5, 2) # 10.0
Each function accepts any number of arguments:
add(1) # 1
add(1, 2, 3, 4, 5) # 15
mul() # 1 (identity)
Functions
| Function | Description |
|---|---|
add(*nos) |
Adds all given numbers |
mul(*nos) |
Multiplies all given numbers |
div(*nos) |
Divides left to right: first ÷ second ÷ third ... |
Development
pip install -e ".[dev]"
pytest
License
MIT
Release files for fyrefly 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fyrefly-0.2.0.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fyrefly-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.9 kB
Release files / fyrefly-0.2.0.tar.gz
| Download URL | fyrefly-0.2.0.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e2a1e3f362aa324d131047baf63eadb4d30a1ffec98fd0117900885233cd68de
|
|
BLAKE2b-256 checksum How to use checksums |
06f6adffa6a07d6489e68c15e5f1cb3f5c190c7f4983ef4acfd3d77f160d5493
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.
Transparency logRelease files / fyrefly-0.2.0-py3-none-any.whl
| Download URL | fyrefly-0.2.0-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e8297680d714db9d3c0cc1c33f1051bc89869b2cb363a60c92b48d702308a9bb
|
|
BLAKE2b-256 checksum How to use checksums |
6442ee200b5f1f598059d36c09b52f6143e7d6dc5c87c7b981b02d94f2d9e7c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.
Transparency log