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.

Source Distribution

sipy-0.3.1.tar.gz (13.7 kB view details)

Uploaded Source

Built Distribution

sipy-0.3.1-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

Details for the file sipy-0.3.1.tar.gz.

File metadata

  • Download URL: sipy-0.3.1.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0 CPython/2.7.17 Linux/5.0.0-37-generic

File hashes

Hashes for sipy-0.3.1.tar.gz
Algorithm Hash digest
SHA256 495a529d504f0cc014c6b83389517519e86082996138248e1b77f3126b8c5c7d
MD5 e292019da15ed4312458af95d7a348f2
BLAKE2b-256 0ad7bd3a068dcbc71a39c7a9f7d0d55f615d81987a261e7d1e31da68b43b0595

See more details on using hashes here.

File details

Details for the file sipy-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: sipy-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 16.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.0 CPython/2.7.17 Linux/5.0.0-37-generic

File hashes

Hashes for sipy-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 25d4b9afba5eb6d5eac436c9b053619fcb24d0506a037c2f49dd9e2c3961602b
MD5 ddc4b99fe632170841614f5c91a907de
BLAKE2b-256 452e40715bc6bc6f122c2bfa95e62fe3fb5607462ad9f6f03a83fd15e67cfe64

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page