Skip to main content

No project description provided

Project description

build coverage pypi python license

SIpy

SIpy is a fast, lightweight and easily extensible python package for manipulating physical quantities.

For more detailed information read the documentation.

Quickstart

SIpy can be installed via pipenv or pip, and requires Python 3.6.0 or higher.

$ pipenv install sipy
$ pip install sipy

Once SIpy is installed just import the quantities you need and you’re good to go

>>> from sipy import miles, hour
>>> speed_limit = 70 * miles / hour
>>> print(speed_limit)
3.13E+01ms^-1

Contributing

SIpy is developed on GitLab. If you come across an issue, or have a feature request please open an issue. If you want to contribute a fix or feature-implementation please do by proposing a merge request.

Testing

SIpy uses Pytest for unit testing and and pre-commit for static analysis and auto-formatting. Code is automatically checked by Gitlab pipelines when pushed but it is recommended that tests are also run locally.

SIpy used Poetry for managing all external dependencies. Install Poetry using the instructions here and then install dependencies with

$ poetry install

pre-commit should run automatically on every commit. To enable it run

$ poetry run pre-commit install

The unittests can be run with:

$ poetry run pytest --doctest-modules tests sipy README.rst

Help

The SIpy documentation is the best place to start, after that try searching stack overflow, if you still can’t find an answer please open an issue.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sipy, version 0.3.1
Filename, size File type Python version Upload date Hashes
Filename, size sipy-0.3.1-py3-none-any.whl (16.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size sipy-0.3.1.tar.gz (13.7 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page