Skip to main content

Python algorithms3

Project description

PyPI version Open Source Helpers Build Status Coverage Status

SEANLAB Algorithms Pythonic Data Structures and Algorithms

Minimal and clean example implementations of data structures and algorithms in Python 3.

Contributing

Thanks for your interest in contributing! There are many ways to contribute to this project. Get started here

Tests

Use unittest

For running all tests write down:

$ python3 -m unittest discover tests

For running some specific tests you can do this as following (Ex: sort):

$ python3 -m unittest tests.test_sort

Use pytest

For running all tests write down:

$ python3 -m pytest tests

Install

If you want to use the API algorithms in your code, it is as simple as:

$ pip3 install seanalgorithms3

You can test by creating a python file: (Ex: use merge_sort in sort)

from seanalgorithms3.sort import merge_sort

if __name__ == "__main__":
    my_list = [1, 8, 3, 5, 6]
    my_list = merge_sort(my_list)
    print(my_list)

Uninstall

If you want to uninstall seanalgorithms3, it is as simple as:

$ pip3 uninstall -y seanalgorithms3

List of Implementations

Contributors

seanlab1, seanlab3 email: newstein33@gmail.com

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

seanalgorithms3-0.5.tar.gz (296.5 kB view details)

Uploaded Source

Built Distribution

seanalgorithms3-0.5-py3-none-any.whl (475.3 kB view details)

Uploaded Python 3

File details

Details for the file seanalgorithms3-0.5.tar.gz.

File metadata

  • Download URL: seanalgorithms3-0.5.tar.gz
  • Upload date:
  • Size: 296.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for seanalgorithms3-0.5.tar.gz
Algorithm Hash digest
SHA256 eefb7ea6ac93bea1416dbb846aeb125364dbe464f051b5f7a77239d02084535f
MD5 e10d38dca7587daeab7b41e68ae3f447
BLAKE2b-256 b9d19410f249cb90de1a21594877601285ebf649f66fdbd5b8f6a0a1161a0341

See more details on using hashes here.

File details

Details for the file seanalgorithms3-0.5-py3-none-any.whl.

File metadata

  • Download URL: seanalgorithms3-0.5-py3-none-any.whl
  • Upload date:
  • Size: 475.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.7

File hashes

Hashes for seanalgorithms3-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7eeb307d8fb9643eee071cea43eda44e6f74eb9df6b26f3294e6de323ad08054
MD5 3fcc74c0d91c73df33c003f87ae490e4
BLAKE2b-256 949d0ab44822d891e09bc1d870b1cf673b6c565316278145437a532867deddbb

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