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

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.

Files for tripcode, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size tripcode-0.1.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page