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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fpy2-0.0.7.tar.gz
  • Upload date:
  • Size: 111.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.7.tar.gz
Algorithm Hash digest
SHA256 88760678cc90668d1af937a6790cb56a6935c1d682b25d06447e9136aa9fd18f
MD5 094dac9165e12be44c279039c09709dd
BLAKE2b-256 67bc391a3c07d5aff7cfbb68dacd34db80899dbc07382a841179bee7b7184c3d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fpy2-0.0.7-py3-none-any.whl
  • Upload date:
  • Size: 142.9 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 9fe0e7ad8a1f3639b80dd409cae6cb084d8aaba68d4febed6c8b2f7b15b18ce6
MD5 5a1fb749befe70c00bb297047e7edacf
BLAKE2b-256 4b3beab59f3079da5796491de59b225c3ffa9761a3ef74e8c2a5de91b82a5a0d

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