xl-base
Base utility library for xilong projects.
Installation
pip install xl-base
Usage
from xl_base import random
from xl_base import time
from xl_base import array
from xl_base import json
from xl_base import number
from xl_base import number_time
# Generate random numbers
random_number = random.number(6)
random_string = random.string(10)
# Time utilities
today = time.get_today()
now = time.get_now()
# Array utilities
unique_items = array.unique([1, 2, 2, 3])
# JSON utilities
camel_dict = json.to_camel({'first_name': 'John'})
# Number utilities
chinese_number = number.to_chinese(1234.56)
Modules
array: Array/list manipulation utilitiesjson: JSON/dict manipulation utilitiesnumber: Number conversion utilitiesnumber_time: Number to time format utilitiesrandom: Random string/number generationtime: Time/date manipulation utilities
License
MIT
Metadata
Release files for xl-base 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xl_base-1.0.0.tar.gz | 4.4 kB | Without provenance | Details for xl_base-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xl_base-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for xl_base-1.0.0-py3-none-any.whl |
Total release size: 10.3 kB
Release files / xl_base-1.0.0.tar.gz
| Download URL | xl_base-1.0.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10da1a5621a3170aca1380d05aabe1b349d0dfdf44c312a7ecf1c521ffbcff52
|
|
BLAKE2b-256 checksum How to use checksums |
f21a0052ed2681b14862a31405da470b4e54ecbaf3f8d7020a453158613c3712
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.3
|
Release files / xl_base-1.0.0-py3-none-any.whl
| Download URL | xl_base-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
754f620ec5d0e7c857a2bde3923b0b88e90fb42d831b87efd2b1d37641d6a447
|
|
BLAKE2b-256 checksum How to use checksums |
387ba204b1a500356eddf762b167e08e22117ab16072dee8506256fd6807c2be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.3
|
Security for xl-base 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.