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.3.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-2.0.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: base64_no_upper_case-2.0.3.tar.gz
  • Upload date:
  • Size: 3.3 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.3.tar.gz
Algorithm Hash digest
SHA256 e162427dab5439bd5c478fcce7e9a9c6698229dedcc6d493f6f862536c38b65d
MD5 4c05a11db08fe428027875fcc6089261
BLAKE2b-256 035f7892877f85225262b1569d3861bfce6910ade98ee91b42a6c30675abee6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for base64_no_upper_case-2.0.3.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.3-py3-none-any.whl.

File metadata

File hashes

Hashes for base64_no_upper_case-2.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 55532affab363e7fa3c262682fee66f7fa93033ab9fafd32496f6e66bab59e9e
MD5 ff636ac3c06e84a105b2d4cdfd05d003
BLAKE2b-256 2c15fef1b0bd5e1cc44d7bace1fc74dbbfc8974fbbff5185882fe554599b7127

See more details on using hashes here.

Provenance

The following attestation bundles were made for base64_no_upper_case-2.0.3-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