The Small Package For Generate Increment Registration Code
Project description
Alphac Registration Code
This is a Small Package For Generate Increment Registration Code. The Format is : CustomTextYYYYMMIncrementCode
How To Use :
1. Import Module Name
import alregcode
2. Use Syntax
regGenerate("Your Custom String", Start Number, CodeLength)
regGenerate("TEST", 0, 4)
Example :
I Want Generate and Print Registration Code With Condition :
- I Want to Use "ALPHAC" Word to be First
- I Want The Increment Start From Number 00001
So i Write :
from alregcode import regGenerate
test = regGenerate("ALPHAC", 0, 5)
print(test)
Output :
ALPHAC20190100001
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
AlRegCode-0.0.2.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for AlRegCode-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1c926e246057ffa67bd3e98623c643e384003a8df9502f5c45729d1e579e0d1 |
|
MD5 | e82cf15cdfccaf2c301f6fee5105abd5 |
|
BLAKE2b-256 | 68def9791d94091796e963b8e6cdda648db67ff4acaabc2e86f56a0d744dfef8 |