Skip to main content

for example:

import string

ALPHABET = string.ascii_uppercase + string.ascii_lowercase +                string.digits + '-_'


intstr = IntStr(ALPHABET)

s = intstr.encode(1234567)
print s
print intstr.decode(s)


intstr = IntStr(ALPHABET,"$")

s = intstr.encode(-1234567)
print s
print intstr.decode(s)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

intstr-0.12.tar.gz (1.4 kB view details)

Uploaded Source

File details

Details for the file intstr-0.12.tar.gz.

File metadata

  • Download URL: intstr-0.12.tar.gz
  • Upload date:
  • Size: 1.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for intstr-0.12.tar.gz
Algorithm Hash digest
SHA256 05f875f778594827826b0abc222327fcb9b3abeb76811c37e9611ed871d51555
MD5 3a805e0177ca0ac177280187e3dbaff0
BLAKE2b-256 e3c3eaf52f1775b6499ae580dbfb1bcadb845e276e6c3041d4cccada40f59443

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.12 This release

1 file

0.11

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page