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 hashes)

Uploaded Source

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