Skip to main content

A python module that provides mutable mappings and sets implemented with binary trees.

Project description

bin_tree

A python module that provides mutable mappings and sets implemented with binary trees.

Current status

This package will be distributed in PyPI starting with version 0.1.0. It can be used by end users, but should be considered at beta quality because it still lacks extensive testing. Its full source is available from GitHUB.

Goals

This module intends to be used as a normal mapping. It provides various implementations, a non balancing one, an AVL one, and a red-black one.

Portability is very important here:

  • few dependencies: a Python 3 (tested for >= 3.5)
  • no additional module requirements

Usage:

To be done

Installing

End user installation

With pip: pip install bin_tree.

Developer installation

If you want to contribute or integrate bin_tree in your own code, you should get a copy of the full tree from GitHUB:

git clone https://github.com/s-ball/bin_tree [your_working_copy_folder]

Running the tests

As the project only uses unittest, you can simply run tests from the main folder with:

python -m unittest discover

Contributing

As this project is developed on my free time, I cannot guarantee very fast feedbacks. Anyway, I shall be glad to receive issues or pull requests on GitHUB.

Versioning

This project uses a standard Major.Minor.Patch versioning pattern. Inside a major version, public API stability is expected (at least after 1.0.0 version will be published).

License

This project is licensed under the MIT License - see the LICENSE.txt file for details

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

bin_tree-0.2.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

bin_tree-0.2.1-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file bin_tree-0.2.1.tar.gz.

File metadata

  • Download URL: bin_tree-0.2.1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.0

File hashes

Hashes for bin_tree-0.2.1.tar.gz
Algorithm Hash digest
SHA256 8bea4e039cbb87c4629cf9936f6d57678a51562063a87f051954892a9bacf82b
MD5 7bc25d8fe629108f4f482c6ea6efa3ed
BLAKE2b-256 ca5380ef2e655eef663873aa48f5274d89103c25c569785756b301a374c0bf7d

See more details on using hashes here.

File details

Details for the file bin_tree-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: bin_tree-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.0

File hashes

Hashes for bin_tree-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 11f064567d81b02f63b2bb8bd8d26f52d886de08c4f9408761882eef84413609
MD5 c8c94e153143dbef1d6900bb432fa1fd
BLAKE2b-256 5ba046a733cda2aded5092e36ab85daecbf3022c0f2523701d3c319429c436fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page