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 bytes to bytes
enc = base64NoUpperCase.b64encode(random.randbytes(7))
print(enc)

# Decode bytes to bytes
dec = base64NoUpperCase.b64decode(b'q-784344h@==')
print(dec)

# Encode str to str
enc = base64NoUpperCase.b64encode("Hello world!").decode()
print(enc)

# Decode str to str
dec = base64NoUpperCase.b64decode("])`sb)8gd29yb)@h").decode()
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-2.0.0.tar.gz (3.1 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-2.0.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: base64_no_upper_case-2.0.0.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for base64_no_upper_case-2.0.0.tar.gz
Algorithm Hash digest
SHA256 f7c3eaa985d9ae30e13077229e20ff253aac2e6c33f77b529fc3c27435a0c63f
MD5 bba04e44284bc4ea47eda1528a027f02
BLAKE2b-256 445f6c84a7475d004b6f53c3d4fab6de93f6a7a8536e7f73381dcb855bf38852

See more details on using hashes here.

Provenance

The following attestation bundles were made for base64_no_upper_case-2.0.0.tar.gz:

Publisher: publish.yml on bddjr/base64-no-upper-case-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for base64_no_upper_case-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29aaf25c85c80b4323d3c2eab3e1a831ca73c9e4cb9e3f056e3ff812cc59d750
MD5 a47e72dfd78016eae23cbf6eeb25afad
BLAKE2b-256 b2b705fdc1dfb8115720994102418a2e233bc5e430b5a0d2eb8b6ceb97ca111b

See more details on using hashes here.

Provenance

The following attestation bundles were made for base64_no_upper_case-2.0.0-py3-none-any.whl:

Publisher: publish.yml on bddjr/base64-no-upper-case-py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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