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.1.tar.gz (3.2 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.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: base64_no_upper_case-2.0.1.tar.gz
  • Upload date:
  • Size: 3.2 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.1.tar.gz
Algorithm Hash digest
SHA256 2cf6d4482bf31dd89d9eefef704d68eb9a9038960023d13388aaf4c32a9c129d
MD5 fa9a2d3f73a8b1314f0439dba053d379
BLAKE2b-256 c09dc7e6959e7596707af9e033c7933c238775367cb90a6b0d6903cefccb29b2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for base64_no_upper_case-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c219960d5614424e5046b940ab2bcbdb0e6faf6d6fe391dc7d2c7630602c1cd8
MD5 a9ecc250217d7f9204a388245622966a
BLAKE2b-256 35a78d17ff27c224e8075816741d52899908b9b8bc4e287cba9f12c487b24d39

See more details on using hashes here.

Provenance

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