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.0.tar.gz (308.1 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.0-py3-none-any.whl (368.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fpy2-0.2.0.tar.gz
  • Upload date:
  • Size: 308.1 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.0.tar.gz
Algorithm Hash digest
SHA256 8c34dbe51a79f4884fd2937639b1ced8f044081898a46422783d06e8e0f191ac
MD5 0a63107d5bd4f6017e1471f5f6d7b637
BLAKE2b-256 e6e3ffad86a2e9262b629f6641e0faf7c7c19ff4d6acf49314ee07c12762fceb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fpy2-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 368.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1935d281bc2f5d39d2f259825b39f7854c8cb60e6f5d4fe760e01c12729e7481
MD5 5a388fd144efeaeed44d77c0ceac905a
BLAKE2b-256 3bba91d518b7321189d9480fbf7ba51cab234b88dd4d73fd86765d91d45aac6b

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.2

2 files

0.2.1

2 files

This release

0.2.0 This release

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