Skip to main content

montykit

montykit is an expanding Python library made for a variety of general-purpose purposes. It has NO connection to Monty Pythons Flying Circus or any other packages; the name was chosen due to to the fact the Python coding language is partially named from Monty Python and his flying circus and is common for general-purpose libraries.

Don't worry, this will be updated a lot! It is only in the very early stages of development!

I made this because I was thinking of a good library to make, and I decided that I needed something very general. I picked a general-purpose library because I want to be able to pack as much high-quality content and modules as possible into it.


Install me!

Install from PyPI:

pip install montykit

Note:

Feel free to look around the files! If you see anything you think should be added or changed, a suggestion for a new module, a potential bug, or anything, you can email me at tyleruploadspython@gmail.com, tyleruploads@yahoo.com, or make an issue at https://github.com/tyleruploads/montykit/issues. I will try to respond to real emails as fast as possible.

Text Analysis (montykit.analysis)

Utilities for basic text analysis.

from montykit.analysis import (
    text_polarity,
    text_subjectivity,
    word_freq,
    detect_lang,
    text_difficulty,
    text_is_difficult
)

text = """\
Arthur remained very worried.

“But can we trust him?” he said.

“Myself I’d trust him to the end of the Earth,” said Ford.

“Oh yes,” said Arthur, “and how far’s that?”

“About twelve minutes away,” said Ford, “come on, I need a drink.”
"""

text_polarity(text)
text_subjectivity(text)
word_freq(text)
detect_lang(text)
text_difficulty(text)
text_is_difficult(text)

Ciphers (montykit.ciphers)

Utilities for basic ciphers and encoding methods.

from montykit.ciphers import (
    caesar_cipher,
    rot13,
    atbash_cipher,
    reverse_cipher,
    eng_to_morse,
    morse_to_eng,
    a1z26_cipher,
    bacon_cipher,
    substitution_cipher,
    rail_fence_2_cipher,
    eng_to_imct
)

caesar_cipher("Hello", 3)
caesar_cipher("Khoor", 3, decrypt=True)

rot13("I am a python because I eat coding languages")
atbash_cipher("Antidisestablishmentarianism")
reverse_cipher("Pytondiake")

eng_to_morse("SOS")
morse_to_eng("... --- ...")

a1z26_cipher("This will become nice numbers")

bacon_cipher("This tastes like bacon")

substitution_cipher(text="I am the abc singer in a sing sing lalalalal", alphabet_key="pqrstuvwxyzabcdefghijklmno")

rail_fence_2_cipher("I am both a railing, AND a fence!!")

eng_to_imct("This hopefully is not english, because this was typed on a keyboard!")

Converters (montykit.converters)

Utilities for basic conversions

from montykit.converters import (
    base64_encode,
    base64_decode,
    text_to_binary,
    binary_to_text,
    text_to_hex,
    hex_to_text,
    text_to_url,
    url_to_text,
    to_snake_case,
    to_camel_case
)

base64_encode("hello")
base64_decode("aGVsbG8=")

text_to_binary("Python")
binary_to_text("01010000 01111001")

text_to_hex("Data")
hex_to_text("44617461")

text_to_url("hello world")
url_to_text("hello%20world")

to_snake_case("CamelCaseText")
to_camel_case("snake_case_text")

Generators (montykit.generator)

Utilities for basic data/text generation

from montykit.generator import (
    gen_id,
    gen_uuid,
    gen_password,
    gen_first_name,
    gen_first_names,
    gen_full_name,
    gen_phone
)

gen_id()
gen_uuid()
gen_password()

gen_first_name()
gen_first_names(5)

gen_full_name()
gen_full_name(middle=True)

gen_phone()

Hashing (montykit.hash)

Utilities for basic hashing

from montykit.hash import generate_hash

generate_hash("I am a GIL")
generate_hash("Hopefully I am not a dependancy", algorithm="sha1")
generate_hash("This is NOT a GUI", algorithm="sha256")

Validators (montykit.validators)

Utilities for basic validation

from montykit.validators import (
    json_validator,
    is_email,
    is_strong_pass
)

json_validator('{"name": "Tyler", "coder": "yes"}')
is_email("tyleruploadspython@gmail.com")
is_strong_pass("W0KZsN1rVzqzha4zvKDgct47SPZgIv2r5ZnD8m3KYyfRRzg35T")

Requirements

  • Python 3.9 or newer

Dependencies:

  • textblob
  • textstat

Testing

To ensure the code works, just type pytest while cd'd in the outermost montykit folder.

pytest

License

See "LICENSE" file


Links

Release files for montykit 0.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 montykit 0.1.0
File Size Uploaded
montykit-0.1.0.tar.gz 60.0 kB Details

Built distribution (wheel)

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

Total release size:116.0 kB

Release files / montykit-0.1.0.tar.gz

Download URL montykit-0.1.0.tar.gz
Size 60.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bd48bb565edd981bb07e03802ec9e1c0dc3f93419cdc54c498419ea1802f5d1b
BLAKE2b-256 checksum
How to use checksums
f402ad0ff470ff7e3c9e9426202e24b41507794ac5e4a4b13f4a0209e885f395
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.

Transparency log

Release files / montykit-0.1.0-py3-none-any.whl

Download URL montykit-0.1.0-py3-none-any.whl
Size 56.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a55c797399703eb3f208bd097fa6d39142265399f7721dd78c838cec9dc338d
BLAKE2b-256 checksum
How to use checksums
d6c88887751c54fe76e5b8098f0af0cdf7fbdc2146d7afa22ef8fa1c4a4b2e47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 15, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

2 release files

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