Skip to main content

No project description provided

Project description

============== STALib

Standard Template and algorithms library of C++ for Python with C-Python API

.. image:: https://readthedocs.org/projects/more-itertools/badge/?version=latest :target: https://more-itertools.readthedocs.io/en/stable/

This Librariy is complementary algotrithms and templates to Python's built-in. The algorithms implemented in C++ and extended to Python and compitable with Python's list objects.

Algorithms:

+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Sort Algorithms | Bubble Sort, | | | Merge Sort, | +------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Templates:

+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Sequence | Vector, | | | ``, | +------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+

Getting started

To get started, install the library with pip <https://pip.pypa.io/en/stable/>_:

.. code-block:: shell

pip install stalib

Example

Import the algorithms or templates:

.. code-block:: python

>>> from stalib.algorithms import merge_sort
>>> iterable = [1,9,2,4]
>>> list(merge_sort(iterable))
[0, 1, 2, 3]

For the full listing of functions, see the Algorithms and Tempaltes_.

Version History

:noindex:

0.1.0

  • Initial release, with Merge Sortand Bubble Sort Algorithms

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

stalib-0.1.0.tar.gz (52.7 kB view details)

Uploaded Source

Built Distribution

stalib-0.1.0-cp37-cp37m-macosx_10_9_x86_64.whl (92.1 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: stalib-0.1.0.tar.gz
  • Upload date:
  • Size: 52.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.0

File hashes

Hashes for stalib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5f46b511227ac974281f3089f83450eb6f1e80f9154a4f5a3102c3f8727266c1
MD5 81129d19e8bd2279008ad2bd52013417
BLAKE2b-256 f39a9402e30ab3759288a45eb9eda0d94346c089d65a1b99a203ac0f7c5c21e8

See more details on using hashes here.

File details

Details for the file stalib-0.1.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: stalib-0.1.0-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 92.1 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.3.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.0

File hashes

Hashes for stalib-0.1.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 87007b0a3f5b4a297c55755cd99ec74dea61626e7178f59ef61bb00e17c97259
MD5 88e90955d89980052a26ad63504c74fa
BLAKE2b-256 6896900864646fcbfb13c266951907dd2d53601766bd73b3974fef81288c01b0

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