Skip to main content

Python implementation btoa and atob functions from javascript

Project description

Install

pip install btoa

Example

from btoa import btoa, atob

assert btoa("Hello World!") == "SGVsbG8gV29ybGQh"
assert atob("SGVsbG8gV29ybGQh") == "Hello World!"

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

btoa-1.0.1.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

btoa-1.0.1-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file btoa-1.0.1.tar.gz.

File metadata

  • Download URL: btoa-1.0.1.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for btoa-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8411dad0da938b4b6fb5de52e1ddf3a626ed56234a4a0715060057bff8fce1f8
MD5 3e1c8f4ac159e921e204b172603d5d2e
BLAKE2b-256 992c5146b41b59713c5fdd8ec7f577eca74df602722361a75af5a73c686ab848

See more details on using hashes here.

File details

Details for the file btoa-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: btoa-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for btoa-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 78f464436c2e1dc6f04bb3e8483c5847592437420e0d84a70be364c721de1798
MD5 5a976785da4b7aa04852a386ae5e6bea
BLAKE2b-256 d732513fecfa0efcfba3204ba4d215c54b66f5b78b073d047aaf4d5828d23ffd

See more details on using hashes here.

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