Skip to main content

Trivial tripcode library

Project description

This module provides a function to calculate tripcodes:

>>> from tripcode import tripcode
>>> tripcode('tea')
'WokonZwxw2'
>>> tripcode(u'kami')
'yGAhoNiShI'

It’s notable only in that it also provides a (slow) pure-Python crypt(3) implementation, which it uses as a fall-back on platforms that don’t have one of their own (e.g. Windows):

>>> from tripcode import _crypt
>>> _crypt('encrapt', 'xy')
'xyk2vcIZuU2vU'

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

tripcode-0.1.tar.gz (4.5 kB view details)

Uploaded Source

File details

Details for the file tripcode-0.1.tar.gz.

File metadata

  • Download URL: tripcode-0.1.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for tripcode-0.1.tar.gz
Algorithm Hash digest
SHA256 fd3e5b4cde83c0a4f4b552a5f51222191f26fb530916950d101b44f471427080
MD5 57175ce7d9bf0083a133615016d9d95d
BLAKE2b-256 df0a944e72cad5bdc6e1868b2f943edfbf808e00a0c29404f92d3775cf73a883

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page