xilong base utility library
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xl_base-1.0.0.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xl_base-1.0.0.tar.gz.
File metadata
- Download URL: xl_base-1.0.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10da1a5621a3170aca1380d05aabe1b349d0dfdf44c312a7ecf1c521ffbcff52
|
|
| MD5 |
f9c05d6c17850b12c8da665eb5495fac
|
|
| BLAKE2b-256 |
f21a0052ed2681b14862a31405da470b4e54ecbaf3f8d7020a453158613c3712
|
File details
Details for the file xl_base-1.0.0-py3-none-any.whl.
File metadata
- Download URL: xl_base-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
754f620ec5d0e7c857a2bde3923b0b88e90fb42d831b87efd2b1d37641d6a447
|
|
| MD5 |
e27feead40a1199709ca3b9649224123
|
|
| BLAKE2b-256 |
387ba204b1a500356eddf762b167e08e22117ab16072dee8506256fd6807c2be
|