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 seanalgorithms

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

from seanalgorithms.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 seanalgorithms, it is as simple as:

$ pip3 uninstall -y seanalgorithms

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.4.tar.gz (278.8 kB view details)

Uploaded Source

Built Distribution

seanalgorithms3-0.4-py3-none-any.whl (475.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: seanalgorithms3-0.4.tar.gz
  • Upload date:
  • Size: 278.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.1

File hashes

Hashes for seanalgorithms3-0.4.tar.gz
Algorithm Hash digest
SHA256 cbec31332e03daee25f0f171916223e6a5a5c4377a4cdeef39bb45bfe096b0a4
MD5 cbff617fc3f1f7186ed9e67db872639d
BLAKE2b-256 ff87aff7211558aa7b612499907a399bbdaf2fc7264ce0620b6ff338b6b29a9d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seanalgorithms3-0.4-py3-none-any.whl
  • Upload date:
  • Size: 475.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.1

File hashes

Hashes for seanalgorithms3-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5af234eebc7f6032a91acc658c805f59b3ad816b0a43b9d29b1ace9ed727f61c
MD5 65e58dc633fe4b61d05f922972e07610
BLAKE2b-256 e01700fadb333b67b131b440725c059cdf0eb9e856d1b3285e96d1823ffceba2

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