Skip to main content

Easy-to-import Python module with a basic, efficient, native implementation of the extended Euclidean algorithm.

Project description

Easy-to-import Python module with a basic, efficient, native implementation of the extended Euclidean algorithm.

PyPI version and link. travis coveralls

Package Installation and Usage

The package is available on PyPI:

python -m pip install egcd

The library can be imported in the usual way:

from egcd import egcd

Testing and Conventions

All unit tests are executed and their coverage is measured when using nose (see setup.cfg for configution details):

nosetests

Alternatively, all unit tests are included in the module itself and can be executed using doctest:

python egcd/egcd.py -v

Style conventions are enforced using Pylint:

pylint egcd

Contributions

In order to contribute to the source code, open an issue or submit a pull request on the GitHub page for this library.

Versioning

Beginning with version 0.1.0, the version number format for this library and the changes to the library associated with version number increments conform with Semantic Versioning 2.0.0.

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

egcd-0.1.0.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

egcd-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file egcd-0.1.0.tar.gz.

File metadata

  • Download URL: egcd-0.1.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for egcd-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a00f181bb9ca346c9c717527ab5aba97c2d2582ec5d2c9d008b5297be284ef68
MD5 a8ff43faa63d083f4e3a08c5ce6324da
BLAKE2b-256 5438d1b282c9dd46284b0a5382fec1d06503d26a4cc1aeaa9fe33586bd5d1f67

See more details on using hashes here.

File details

Details for the file egcd-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: egcd-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.8.0

File hashes

Hashes for egcd-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88da314a511641aff693a59ca5ae72e06d039b151f6036a7fecc5e948a69f8b5
MD5 eb5b941d3f8a4ce5ab60f169f75b99e3
BLAKE2b-256 4cdc5cf2644e1d547c064478e1aef81430dc1b9fab048c0d039f37345cd12a88

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