python-aidはMisskeyのaid/aidxのPython向けの実装です。
Project description
python-aid
python-aidはMisskeyのaid/aidxのPython向けの実装です。
aid/aidxとは?
Misskeyで利用されているID生成アルゴリズムです。
Example
aid
from python_aid import aid
generated = aid.genAid()
print("aid: " + generated)
print("time: " + aid.parseAid(generated).strftime('%Y-%m-%d %H:%M:%S.%f'))
aidx
from python_aid import aidx
generated = aidx.genAidx()
print("aidx: " + generated)
print("time: " + aidx.parseAid(generated).strftime('%Y-%m-%d %H:%M:%S.%f'))
試す
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
python_aid-0.1.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for python_aid-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c851bf008f3bdc9de363cd6b0fdd483404f0705061dd1bdc7c3687b66bb993e1 |
|
MD5 | a8de39c14c35e0f2de5d5ed3e55b20f7 |
|
BLAKE2b-256 | bd635477d3f61e92c9715a69c81df531d1859ebffe5ed9ff0d16cdeead236e72 |