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.
Metadata
Release files for sipy 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sipy-0.3.1.tar.gz | 13.7 kB | Without provenance | Details for sipy-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sipy-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for sipy-0.3.1-py3-none-any.whl |
Total release size: 29.9 kB
Release files / sipy-0.3.1.tar.gz
| Download URL | sipy-0.3.1.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
495a529d504f0cc014c6b83389517519e86082996138248e1b77f3126b8c5c7d
|
|
BLAKE2b-256 checksum How to use checksums |
0ad7bd3a068dcbc71a39c7a9f7d0d55f615d81987a261e7d1e31da68b43b0595
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0 CPython/2.7.17 Linux/5.0.0-37-generic
|
Release files / sipy-0.3.1-py3-none-any.whl
| Download URL | sipy-0.3.1-py3-none-any.whl |
|---|---|
| Size | 16.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25d4b9afba5eb6d5eac436c9b053619fcb24d0506a037c2f49dd9e2c3961602b
|
|
BLAKE2b-256 checksum How to use checksums |
452e40715bc6bc6f122c2bfa95e62fe3fb5607462ad9f6f03a83fd15e67cfe64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.0.0 CPython/2.7.17 Linux/5.0.0-37-generic
|
Security for sipy 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.