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.

Source Distribution

AlRegCode-0.0.3.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

AlRegCode-0.0.3-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file AlRegCode-0.0.3.tar.gz.

File metadata

  • Download URL: AlRegCode-0.0.3.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.9.0 tqdm/4.30.0 CPython/3.7.1

File hashes

Hashes for AlRegCode-0.0.3.tar.gz
Algorithm Hash digest
SHA256 8e750e424934a74905160fd10589d28654bf79ddb6b6c1fba86165ff145c73c1
MD5 07df72067522d03431208ec6dff9cade
BLAKE2b-256 761cf9605e592c5f2966edd883910b5145d0a17e0562e1d3b4436583f7de4c7a

See more details on using hashes here.

File details

Details for the file AlRegCode-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: AlRegCode-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.1 requests-toolbelt/0.9.0 tqdm/4.30.0 CPython/3.7.1

File hashes

Hashes for AlRegCode-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 baf66ca50a88ad78cd1f66f2754f76bc76ae6e40703798eb2529c06ed51ae635
MD5 fb0cf4aa4621c59ce35ed9da686ca1b3
BLAKE2b-256 1152dc532ba2c8f1d1ae4594f86cc94690d81022c3d94809d2a8018e6e0c4605

See more details on using hashes here.

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