Skip to main content

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)
For Get Increment Number, Just Write

regGenerate.inc

Example :

I Want Generate and Print Registration Code With Condition :

  1. I Want to Use "ALPHAC" Word to be First
  2. 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


Download files

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

Files for AlRegCode, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size AlRegCode-0.0.3-py3-none-any.whl (2.8 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size AlRegCode-0.0.3.tar.gz (1.7 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