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)

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.

Source Distribution

AlRegCode-0.0.2.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

AlRegCode-0.0.2-py3-none-any.whl (2.8 kB view hashes)

Uploaded Python 3

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