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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fpy2-0.0.6.tar.gz
  • Upload date:
  • Size: 108.5 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.6.tar.gz
Algorithm Hash digest
SHA256 7edc23ccc4d3d8c0dc7158208588cb1ad3be9bf3eaf40463012a0d70b48b7a10
MD5 f3973baea1a71d0166e29c2bb299d27e
BLAKE2b-256 38fda5e760dabcab0ce5b443673d5776ab15183e4d296f1a008d2752f42528a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fpy2-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 138.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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 31b350329d5fef479070224dfb6c16342ad9c18b568fe7a24f79201822c433b6
MD5 99ad61f4cc7355c204f539a0fbd8d7ab
BLAKE2b-256 2c7e18d5304ab95a769872e947c11230ceea1a021600cd7b85790fed764b8736

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