Skip to main content

Base64, but no UPPER CASE.

Project description

Base64, but no UPPER CASE.

It is useful in case-insensitive scenarios, such as Scratch.

!#$%&()*,-.:;<>?@[]^_`{|}~abcdefghijklmnopqrstuvwxyz0123456789+/

For Scratch:
https://scratch.mit.edu/projects/1263900629/

For JavaScript:
https://www.npmjs.com/package/base64-no-upper-case

Setup

pip3 install base64-no-upper-case
import base64NoUpperCase

# Encode str
enc = base64NoUpperCase.encode("Hello world!")
print(enc)

# Decode to str
dec = base64NoUpperCase.decodeToStr("])`sb)8gd29yb)@h")
print(dec)

# Encode bytearray
enc = base64NoUpperCase.encode(bytearray(16))
print(enc)

# Encode bytes
enc = base64NoUpperCase.encode(bytes(16))
print(enc)

# Decode to bytearray
dec = base64NoUpperCase.decode("^2rn8;ffl7<z*}{.|m@|{w==")
print(dec)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

base64_no_upper_case-0.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

base64_no_upper_case-0.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file base64_no_upper_case-0.0.1.tar.gz.

File metadata

  • Download URL: base64_no_upper_case-0.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for base64_no_upper_case-0.0.1.tar.gz
Algorithm Hash digest
SHA256 70e944767cd217fd3ca35d22a89d2f0be7c4239a15ff95dd484ba777f28d0af6
MD5 64434746e647157e1a4d37c5f38a8175
BLAKE2b-256 541d0e7c8c1f73c1f1fbfd5639e0e059c2dcc100695afd77a3b8a43f24f236c9

See more details on using hashes here.

File details

Details for the file base64_no_upper_case-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for base64_no_upper_case-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 44c54ab2c8b3fb38823435add766a1a48d9859db9f7521052adefb71761a1382
MD5 86698cb684f59c728ab681859c2c8593
BLAKE2b-256 970cd0588c3044e17bf9f69067b730e1fffecdf2af520eff3dfccbb05821ff4a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page