Skip to main content

To generate a unique 12 track id, which contain letters and digits.

Project description

Track ID Generator

This is a customized python library to generate a unique 12 track id, which contain letters and digits. This track id will be used to track the packages for our users on the Bida Website.

This is a customized Python library to generate a unique 12-character tracking ID, which contains letters and digits. This track ID will be used to track the packages for users on the Bida Website.

Installation

You can install the library using pip:

pip install track_id_generator_nan

#  Example
from track_id_generator import generate_unique_track_id

# Assuming `Order` is a Django model and `track_id` is the field name
track_id = generate_unique_track_id(Order)
print(track_id)  # This will print a unique tracking ID

# Features
Generate a unique 12-character tracking ID.
Track the ID to ensure it doesn't duplicate in the database.
Easily customizable (you can specify the length and field name).

#License
This project is licensed under the MIT License - see the LICENSE file for details.

# Author
Nan
Email: nancybetter4work@gmail.com
GitHub: https://github.com/nan-wang-good/generate_pkg.git

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

track_id_generator_nan-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

track_id_generator_nan-0.0.1-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file track_id_generator_nan-0.0.1.tar.gz.

File metadata

  • Download URL: track_id_generator_nan-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.16

File hashes

Hashes for track_id_generator_nan-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1ec675822cf03c186e225cd3f2eb262e04de3b85e72c95af6477eb364d9926c1
MD5 1a028ee71ec6e67c92a8dd651696ce91
BLAKE2b-256 51eaf22a6a7d0c845ed22832abad79f37e96ca9f572eca124243a9b99fece3d7

See more details on using hashes here.

File details

Details for the file track_id_generator_nan-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for track_id_generator_nan-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6bdae21f4200f97c519af6024728108a6d0dc8cddfe622cba6b83a71891fb972
MD5 3806d4698dd513372987dfdef62bdc00
BLAKE2b-256 ac2d68bb74c173d6f98c11692f893fb2a662a3a6210cbc3403b9e16b89dada54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page