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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2cf6d4482bf31dd89d9eefef704d68eb9a9038960023d13388aaf4c32a9c129d
|
|
| MD5 |
fa9a2d3f73a8b1314f0439dba053d379
|
|
| BLAKE2b-256 |
c09dc7e6959e7596707af9e033c7933c238775367cb90a6b0d6903cefccb29b2
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
base64_no_upper_case-2.0.1.tar.gz -
Subject digest:
2cf6d4482bf31dd89d9eefef704d68eb9a9038960023d13388aaf4c32a9c129d - Sigstore transparency entry: 1396976158
- Sigstore integration time:
-
Permalink:
bddjr/base64-no-upper-case-py@7db092cb1b02f72492378ad0ed01104a71a890c6 -
Branch / Tag:
refs/tags/v2.0.1 - Owner: https://github.com/bddjr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7db092cb1b02f72492378ad0ed01104a71a890c6 -
Trigger Event:
release
-
Statement type:
File details
Details for the file base64_no_upper_case-2.0.1-py3-none-any.whl.
File metadata
- Download URL: base64_no_upper_case-2.0.1-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c219960d5614424e5046b940ab2bcbdb0e6faf6d6fe391dc7d2c7630602c1cd8
|
|
| MD5 |
a9ecc250217d7f9204a388245622966a
|
|
| BLAKE2b-256 |
35a78d17ff27c224e8075816741d52899908b9b8bc4e287cba9f12c487b24d39
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
base64_no_upper_case-2.0.1-py3-none-any.whl -
Subject digest:
c219960d5614424e5046b940ab2bcbdb0e6faf6d6fe391dc7d2c7630602c1cd8 - Sigstore transparency entry: 1396976173
- Sigstore integration time:
-
Permalink:
bddjr/base64-no-upper-case-py@7db092cb1b02f72492378ad0ed01104a71a890c6 -
Branch / Tag:
refs/tags/v2.0.1 - Owner: https://github.com/bddjr
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7db092cb1b02f72492378ad0ed01104a71a890c6 -
Trigger Event:
release
-
Statement type: