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

Uploaded Python 3

File details

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

File metadata

  • Download URL: base64_no_upper_case-2.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 14a048ab9d1d3872177f0465e046919444f2dcc98422f7e48500d4c307f6a833
MD5 00d97cefa56e5da43c01661b8f00d7b5
BLAKE2b-256 a29557c28347bc1ef76ff9a11083246ed4ac1a1afdc0d2c02cff3ba536b0f537

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for base64_no_upper_case-2.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e886bfff54c95984a98a01ef0f18fbd4be93635852baea4cf07e3b5f00a44d30
MD5 540bfb94c7fafa30a9f24fccd5d72cfa
BLAKE2b-256 97e5c2d663c5358dfcc0656cdccc906a9e69396e3cab64911d710582bd7f972b

See more details on using hashes here.

Provenance

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