Manipulation of algebraic numbers
Project description
A library to manipulate algebraic numbers
Documentation
Pour générer la documentation du code, lancer:
python setup.py doc
Tests
Pour lancer les tests, choisissez une des options ci-dessous:
* tox -e py * python -m pytest --cov-report xml:test-results/coverage.xml --cov-config=coverage.cfg --cov AlgebraicNumber tests --junitxml=test-results/junit.xml --doctest-modules AlgebraicNumber
Si tout va bien, vous devriez avoir la sortie suivante:
============================= test session starts ============================== platform linux -- Python 3.5.2, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 cachedir: .tox/py35/.pytest_cache rootdir: /builds/ydethe/algebraicnumber, configfile: setup.cfg plugins: cov-2.10.0 collected 31 items tests/test_ops.py ........... [ 35%] AlgebraicNumber/AlgebraicNumber.py ...... [ 54%] AlgebraicNumber/inria_utils.py .... [ 67%] AlgebraicNumber/utils.py .......... [100%] -- generated xml file: /builds/ydethe/algebraicnumber/test-results/junit.xml --- ----------- coverage: platform linux, python 3.5.2-final-0 ----------- Name Stmts Miss Cover -------------------------------------------------------- AlgebraicNumber/AlgebraicNumber.py 97 6 94% AlgebraicNumber/__init__.py 13 0 100% AlgebraicNumber/inria_utils.py 91 3 97% AlgebraicNumber/utils.py 176 10 94% -------------------------------------------------------- TOTAL 377 19 95% ============================== 31 passed in 0.87s ==============================
Rapport de couverture des tests
Une fois les tests lancés, le rapport de couverture des tests est disponible ici:
Installation
Pour installer la librairie et les outils associés, lancer:
python setup.py install --user
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
AlgebraicNumber-1.1.0.tar.gz
(16.8 kB
view hashes)
Built Distribution
Close
Hashes for AlgebraicNumber-1.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ca6b9dd2eb1af238fcd167f7281eec24280a420bf86e62bb08d078f7f5365fe |
|
MD5 | 2c5a136e73dc1ce641063d5e7312c7f8 |
|
BLAKE2b-256 | c275885b1e17a049ef5885c5898513ce7363f977691b48bc69213642fd959611 |