Skip to main content

Travis-CI Build Status

bin_tree

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

Current status

This package is distributed in PyPI starting with version 0.2.0. It is a full implementation of MutableSet and MutableMapping for both AVL and Red-Black trees. Test coverage is > 90%, but it should be considered at beta quality because it still lacks real world application testing.

Starting with version 0.3.0, it is tested on Travis-CI, for Python versions >= 3.5 and <=3.9

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 version >= 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

Metadata

Release files for bin-tree 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bin-tree 0.3.0
File Size Uploaded Provenance Actions
bin_tree-0.3.0.tar.gz 10.5 kB Without provenance Details for bin_tree-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bin-tree 0.3.0
File Interpreter ABI Platform Actions
bin_tree-0.3.0-py3-none-any.whl Python 3 none any Details for bin_tree-0.3.0-py3-none-any.whl

Total release size: 20.9 kB

Release files / bin_tree-0.3.0.tar.gz

Download URL bin_tree-0.3.0.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8849da2ab6660a2792c65057d827573d81714ff639eeaf628343bda9eb6ec3a1
BLAKE2b-256 checksum
How to use checksums
7d601fafb38cd99b398c20f5e00da1e593d3312667186fa413a8b819a6ca5b68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.4

Release files / bin_tree-0.3.0-py3-none-any.whl

Download URL bin_tree-0.3.0-py3-none-any.whl
Size 10.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
580864601003bb3cdbe48eb258dc5aabdba8ade8fd080ddfb194ada2c9f35f13
BLAKE2b-256 checksum
How to use checksums
6f2240bd73a4de5614e63f1cff6a81ed344733d0101f37edcb06432fc8020fc8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.4

Security for bin-tree 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page