Skip to main content

blackjack

A comprehensive Python library for sorting and graph algorithms.

Features

  • Sorting Algorithms: Bubble Sort, Selection Sort, Insertion Sort, Merge Sort, Quick Sort, Heap Sort.
  • Graph Algorithms: Breadth-First Search (BFS), Depth-First Search (DFS).

Installation

pip install blackjack

Usage

As a Library

from blackjack import quick_sort, bfs

# Sort a list
arr = [64, 34, 25, 12, 22, 11, 90]
sorted_arr = quick_sort(arr)
print(sorted_arr)

# BFS on a graph
graph = {
    'A': ['B', 'C'],
    'B': ['D'],
    'C': ['E'],
    'D': [],
    'E': []
}
print(bfs(graph, 'A'))

As a CLI tool

blackjack quick_sort
blackjack bfs

License

MIT

Metadata

Release files for blackjack-algos 1.1.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 blackjack-algos 1.1.0
File Size Uploaded Provenance Actions
blackjack_algos-1.1.0.tar.gz 10.2 kB Without provenance Details for blackjack_algos-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for blackjack-algos 1.1.0
File Interpreter ABI Platform Actions
blackjack_algos-1.1.0-py3-none-any.whl Python 3 none any Details for blackjack_algos-1.1.0-py3-none-any.whl

Total release size: 20.6 kB

Release files / blackjack_algos-1.1.0.tar.gz

Download URL blackjack_algos-1.1.0.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
1e99b3b869f4513d38bd98afcf5ec55efc8af7f25c5e3cfd1e0d266dabaf242e
BLAKE2b-256 checksum
How to use checksums
fd4067f1368753e6f6025a78e2020b309d006c92f26b42a120a36141cad629b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.4

Release files / blackjack_algos-1.1.0-py3-none-any.whl

Download URL blackjack_algos-1.1.0-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
932ed2a637d8c2b0601370ce3957d4e5774b7d7c5282c48b8592db271cbcea4d
BLAKE2b-256 checksum
How to use checksums
7c7334d93085fed1d45cbe0098762e5e8a3e5ba24f32e086acafc2ebbc3f31ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.4

Security for blackjack-algos 1.1.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.

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