Skip to main content

Manipulation of algebraic numbers

Project description

https://img.shields.io/pypi/v/AlgebraicNumber.svg Documentation Status https://gitlab.com/ydethe/algebraicnumber/badges/master/pipeline.svg https://codecov.io/gl/ydethe/algebraicnumber/branch/%5Cx6d6173746572/graph/badge.svg

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:

https://codecov.io/gl/ydethe/algebraicnumber

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.0.2.tar.gz (16.5 kB view hashes)

Uploaded Source

Built Distribution

AlgebraicNumber-1.0.2-py2.py3-none-any.whl (12.2 kB view hashes)

Uploaded Python 2 Python 3

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