Skip to main content

Fyrefly

A Quant based library to compute mathematical operations.

Installation

pip install fyrefly

Usage

from fyrefly import add, mul, div, mod

add(5, 4, 6, 10)     # 25
mul(5, 4, 6, 10)     # 1200
div(100, 5, 2)       # 10.0
mod(17, 5)           # 2

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 ...
mod(*nos) Finds remainder left to right: first % second % third ...

Development

pip install -e ".[dev]"
pytest

License

MIT

Download files

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

Source Distribution

fyrefly-0.2.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fyrefly-0.2.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file fyrefly-0.2.1.tar.gz.

File metadata

  • Download URL: fyrefly-0.2.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fyrefly-0.2.1.tar.gz
Algorithm Hash digest
SHA256 351455560dc95ab6f2f5cc79f6f3deea7946c0ce64d6b9dcc0845282e781776c
MD5 3e68034989d3e42ec5fa32ff416aaff4
BLAKE2b-256 f835284a197d59ce667733f3f0d103e1907ee19a143c6732906c86460a108c4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for fyrefly-0.2.1.tar.gz:

Publisher: publish.yml on Ninad077/fyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fyrefly-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: fyrefly-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for fyrefly-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f105384a92fb4a180a7fb89a5ec5046dda0f0321bc1b614a06f03ff84df8641d
MD5 a7218c11842267cf445669625626f073
BLAKE2b-256 57ecfece0c9884d7872b124596e99d8e0786a8a819054ce277225f10240cd561

See more details on using hashes here.

Provenance

The following attestation bundles were made for fyrefly-0.2.1-py3-none-any.whl:

Publisher: publish.yml on Ninad077/fyrefly

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 files

0.2.0

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page