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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fpy2-0.0.8.tar.gz
  • Upload date:
  • Size: 113.7 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.8.tar.gz
Algorithm Hash digest
SHA256 689dbc83fed24cf9530a922a8e406d5a014181ee81a6fd628e41c64292601c61
MD5 7d55396f88c5af4e64feeb44789caeed
BLAKE2b-256 dc73bb8026bfe7077049eadf7fd1af10f5a2cc97d08f4b0c3b6c9c449418c05f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fpy2-0.0.8-py3-none-any.whl
  • Upload date:
  • Size: 145.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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 76d96c86b0f5518fa9b82fedce3476a5535b0f96c8f112ecd0077deb350ecedf
MD5 66c3066f68d49b7d5d60ce64c8ffeaa2
BLAKE2b-256 98c5e4782f8513f157df5b6e8e82be1b50d8fe25665da19edf33b6f62862908d

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