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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fpy2-0.0.5.tar.gz
  • Upload date:
  • Size: 109.4 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.5.tar.gz
Algorithm Hash digest
SHA256 cdb4bef521a10d5e9487af422b687ffc9e3ac6c8b6f9039299239c9cd187e734
MD5 b60dbf9612a277dbd6d9c1c1b114d2ed
BLAKE2b-256 399730c84b8285159d508d38b75007eee738474c44028cc2fda1ebd9c9182a12

See more details on using hashes here.

File details

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

File metadata

  • Download URL: fpy2-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 142.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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 fc7a16e5ba5f333e3fbdedd98b93c8971791cf3afa62838c05a9a3833fa4a50e
MD5 17ed9db97d2d51818b613f21478b3934
BLAKE2b-256 2f8da3b679f37fee63f3c738e02c5e8d3a830cb97e017971a5944305d2ffa13b

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