Skip to main content

oh-my-ds

Python library to pretty print data structures

Installation

pip3 install ohmyds

Usage

Right now only binary tree is supported

from ohmyds import binary_tree

root = binary_tree.create_tree([1,2,3,4,None,5,None,6,7,8])

For binary tree, you can do two operations right now - level order traversal and print

print(root)

The above command will print binary tree in a beautiful way (beauty is in the eyes of the beholder!)

 _1    
/  \   
3  2_  
 \   \ 
 5   4 
    / \
    7 6

Metadata

Release files for ohmyds 0.0.2

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

Source distribution (sdist)

Source distribution for ohmyds 0.0.2
File Size Uploaded Provenance Actions
ohmyds-0.0.2.tar.gz 2.9 kB Without provenance Details for ohmyds-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ohmyds 0.0.2
File Interpreter ABI Platform Actions
ohmyds-0.0.2-py3-none-any.whl Python 3 none any Details for ohmyds-0.0.2-py3-none-any.whl

Total release size: 6.7 kB

Release files / ohmyds-0.0.2.tar.gz

Download URL ohmyds-0.0.2.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fb80ed21e07cfc84ad877e37fa295f3fe3ba1d7c2cdf94847f16b7a43bcd0cca
BLAKE2b-256 checksum
How to use checksums
b919edcf32c53c4a41472d59a1cb05f213aecff70f801a10c992e342c20cad86
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Release files / ohmyds-0.0.2-py3-none-any.whl

Download URL ohmyds-0.0.2-py3-none-any.whl
Size 3.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc9b89b3ee2c786afa0959fa75ed7f82c4d8a8640d0750b0be754db6aafea420
BLAKE2b-256 checksum
How to use checksums
d22e7a5f83a3b96518c0f6ca7fc0f470aff09d061f0903b3a29810395a159d3d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.5

Security for ohmyds 0.0.2

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.0.2 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