Skip to main content

FPy

An embedded Python DSL for specifying and simulating numerical algorithms.

Important links:

Installation

FPy can be installed from PyPI with either uv or pip, or built from source for development. The following instructions assume a bash-like shell.

Installing from PyPI

Requirements:

  • Python 3.11 or later

To install the latest stable release of FPy, run:

uv pip install fpy2

or, with pip:

pip install fpy2

Installing from source

Requirements:

  • Python 3.11 or later
  • make

With uv (preferred)

uv is the recommended development workflow — it handles the virtual environment and dependency installation in a single step:

uv sync

This creates .venv/ and installs FPy in editable mode along with the dev dependency group. Activate the environment with

source .venv/bin/activate

or prefix individual commands with uv run (e.g. uv run pytest tests/unit).

With pip (legacy)

This path is preserved for compatibility with existing tooling; new contributors should prefer uv above.

If you do not have a Python virtual environment, create one using

python3 -m venv .venv/

and activate it using

source .venv/bin/activate

To install an instance of FPy for development, run:

pip install -e .[dev]

To uninstall FPy, run:

pip uninstall fpy2

Testing

There are a number of tests that can be run through the Makefile including

make lint

to ensure formatting and type safety;

make unittest

to run the unit tests;

make infratest

to run the infrastructure tests.

Download files

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

Source Distribution

fpy2-0.2.2.tar.gz (427.8 kB view details)

Uploaded Source

Built Distribution

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

fpy2-0.2.2-py3-none-any.whl (507.0 kB view details)

Uploaded Python 3

File details

Details for the file fpy2-0.2.2.tar.gz.

File metadata

  • Download URL: fpy2-0.2.2.tar.gz
  • Upload date:
  • Size: 427.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for fpy2-0.2.2.tar.gz
Algorithm Hash digest
SHA256 e09786359ecabcc2936f007411d16782b3bc67eb0610b5e5fd1ab1ccafcab7c7
MD5 50a422ed687bb55b43e7636ce6d84140
BLAKE2b-256 ea4befb66be057f1a811b141f57717304719287811a3efa0581875ddf6ce3496

See more details on using hashes here.

File details

Details for the file fpy2-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: fpy2-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 507.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for fpy2-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0a8679b82a2b14bef4e37cce5374a52ff0b2a25aa701923fb80177d47f5fda10
MD5 57a2107f7b797282d3239149f317dd6a
BLAKE2b-256 6fad08cd4c7687f37423f0822fecb26793cb5847529d12f44e7d973ae84178ca

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 files

0.2.1

2 files

0.2.0

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3.1

2 files

0.1.3

2 files

0.1.1

2 files

0.0.13

2 files

0.0.12

2 files

0.0.11

2 files

0.0.10

2 files

0.0.9

2 files

0.0.8

2 files

0.0.7

2 files

0.0.6

2 files

0.0.5

2 files

0.0.4.1

2 files

0.0.3

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page