Skip to main content

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 utilities
  • json: JSON/dict manipulation utilities
  • number: Number conversion utilities
  • number_time: Number to time format utilities
  • random: Random string/number generation
  • time: 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)

Source distribution for xl-base 1.0.0
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)

Table of built distributions (wheels) for xl-base 1.0.0
File Interpreter ABI Platform Actions
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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page