Skip to main content

An embedded DSL for numerical computing

Project description

FPy

An embedded Python DSL for specifying and simulating numerical algorithms.

Important links:

Installation

Requirements:

  • Python 3.11 or later

The following instructions assume a bash-like shell. If you do not have a Python virtual environment, create one using

python3 -m venv .env/

and activate it using using

source .env/bin/activate

To install a frozen instance of FPy, run:

pip install .

or with make, run

make install

Note that this will not install the necessary dependencies for development and installs a copy of the fpy2 package. If you checkout a different commit or branch, you will need to reinstall FPy to overwrite the previous version.

To uninstall FPy, run:

pip uninstall fpy2

Development

Developers of FPy should read this section since installing FPy is actually different.

Requirements:

  • Python 3.11 or later
  • make

Installation

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

python3 -m venv .env/

and activate it using using

source .env/bin/activate

To install an instance of FPy for development, run:

pip install -e .[dev]

or with make, run

make install-dev

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.

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

fpy2-0.0.11.tar.gz (149.2 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.0.11-py3-none-any.whl (187.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fpy2-0.0.11.tar.gz
  • Upload date:
  • Size: 149.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for fpy2-0.0.11.tar.gz
Algorithm Hash digest
SHA256 5b36601c44d20fbb524c354f3aefed584ba896da754c34c937cd02ac4ad8eeba
MD5 155e26118f49ab79b197475bcfdc0e30
BLAKE2b-256 bfb4cd4f7d116ca7494ac695e29ed9802e414f16586bd0939ac8708477afeb77

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fpy2-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 187.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for fpy2-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 9ca646634875f0e117288749693ea082bfe609b724fa5c37f2602c61bf697106
MD5 0fab8c51e7024b4cc371d3c7b4db3118
BLAKE2b-256 2cc0922c3cde41ef0f5244c4d10cf4e82fca4a9f797d22212238f4bc51e94978

See more details on using hashes here.

Supported by

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