Utils Collection
Install
pip install oxl-utils
Data States
from oxl_utils.state import is_set
from oxl_utils.state import is_null
Network interaction
# dnspython wrapper
from oxl_utils.net import resolve_dns
# get first IP
from oxl_utils.net import resolve_first_ip
# check if a remote port is reachable
from oxl_utils.net import is_port_open
Validators
# validate email format
from oxl_utils.valid.email import valid_email
from oxl_utils.valid.email import has_mailserver
# ips and networks
from oxl_utils.valid.net import valid_ip
from oxl_utils.valid.net import valid_ip4
from oxl_utils.valid.net import valid_ip6
from oxl_utils.valid.net import valid_net4
from oxl_utils.valid.net import valid_net6
from oxl_utils.valid.net import valid_public_ip
from oxl_utils.valid.net import valid_asn
from oxl_utils.valid.net import valid_port
from oxl_utils.valid.net import get_ipv
# domains
from oxl_utils.valid.dns import valid_domain
# uuid
from oxl_utils.valid.uuid import valid_uuid4
Crypto
# AES CBC
## set secret
from os import environ
environ['CRYPTO_SECRET'] = '<YOUR-SECRET>'
from oxl_utils.crypto.aes_cbc import encrypt
from oxl_utils.crypto.aes_cbc import decrypt
from oxl_utils.crypto.aes_cbc import encrypt_bytes
from oxl_utils.crypto.aes_cbc import decrypt_bytes
Processing
# subprocess wrapper
from oxl_utils.ps import process
from oxl_utils.ps import process2, ProcessArgs, ProcessResult
## for read-only commands which output should be cached
from oxl_utils.ps import process_with_cache
from oxl_utils.ps import process2_with_cache, ProcessArgs, ProcessResult
# thread handling
from oxl_utils.ps import wait_for_threads
from oxl_utils.ps import process_list_in_threads
Django
# fix datetime timezone
from oxl_utils.dj.dt import datetime_from_db
Metadata
Release files for oxl-utils 0.4
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 |
|---|---|---|---|---|
| oxl_utils-0.4.tar.gz | 46.6 kB | Without provenance | Details for oxl_utils-0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oxl_utils-0.4-py3-none-any.whl | Python 3 | none | any | Details for oxl_utils-0.4-py3-none-any.whl |
Total release size: 85.5 kB
Release files / oxl_utils-0.4.tar.gz
| Download URL | oxl_utils-0.4.tar.gz |
|---|---|
| Size | 46.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bdc5f3c250248b75676766d4d1451abfa777aa7fa2a3e51f53f352c63b4ea61d
|
|
BLAKE2b-256 checksum How to use checksums |
f3e10397bf69a6c67a522b7ccb290d630c2c34efa3c142294752bc9a7e8f0c80
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|
Release files / oxl_utils-0.4-py3-none-any.whl
| Download URL | oxl_utils-0.4-py3-none-any.whl |
|---|---|
| Size | 38.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6926b73465e889c32584bbee8b0133a7cdae21df7ba74643ecf6ce5ee7c63b55
|
|
BLAKE2b-256 checksum How to use checksums |
997e7b58634ed6f251d4129b6e18eb5009501ac7384034c0e6879c5d2b532bb3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.2
|
Security for oxl-utils 0.4
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.