Skip to main content

BracketMaker

Create brackets of any size and neatly print them to the screen.

Useful for visually representing tournaments and updating them on the fly.

Included Files

  • bin/main.py
    • store and update brackets (uses bracket.bracket)
  • bracket/bracket.py
    • Python module used for creating and displaying brackets

Installation

In the terminal type “cd path/to/this/directory” and then “python setup.py install”. This will add the bracket module to your site-packages.

How to Run

You can either choose to run a finished python program that uses the bracket module or create your own script with the module.

If you want to just run the finished version, the file will be found in the “bin” directory. Double click on the file or type “python main.py” in the terminal to run.

To use the bracket module in your own program the include it at the top of the file with from bracket import bracket. There is only one module in the bracket/ directory.

How to Use main.py

In the main menu, your options are to create a new bracket or open an existing one.

New Bracket

You will be asked to enter a name and location to save the bracket. The location must be the full path excluding the name of the bracket.

Then you must enter the number of teams that will participate in the tournament and their names.

You will also be asked to shuffle the teams. Enter yes if you want to give the teams random seeds. Enter no to use the way you enter the teams as the rankings.

Open Bracket

Enter the full path of where the bracket was saved including the name of the bracket.

Updating the Bracket

Type the name of a team that should go on to the next round. You can type multiple teams at once by separating the names with a comma.

You can also edit incorrect updates by typing the other team that should have won instead.

Quit and Save

In the update screen type quit to quit and save. This will return you to the main menu as well.

Command Line Arguments

There is only one additional argument for main.py. It is -f to show the full output of the program and never clear the screen.

To use this feature open the terminal and run $ python path/to/directory/main.py -f.

Metadata

Release files for BracketMaker 0.4.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 BracketMaker 0.4.0
File Size Uploaded Provenance Actions
BracketMaker-0.4.0.tar.gz 5.9 kB Without provenance Details for BracketMaker-0.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 12.5 kB

Release files / BracketMaker-0.4.0.tar.gz

Download URL BracketMaker-0.4.0.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
38a8c17e8762a204f544991c30a80f4c2f99024aeb6ef3484596cdf8bc0bdd4c
BLAKE2b-256 checksum
How to use checksums
4d30b571cbb1fa0316480f71fa45382096f8103d6301cb841cb3ddfc423fe469
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Release files / BracketMaker-0.4.0-py3-none-any.whl

Download URL BracketMaker-0.4.0-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c144a1e5ced8bd1a5ad16201f44ade52c685959ff47047cda9b32ab68f397c5f
BLAKE2b-256 checksum
How to use checksums
1076e66cbf5b9d63ec16a14e6da984933ac002e0b61140d58a51181babbffade
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

Security for BracketMaker 0.4.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