Skip to main content

pyxtend

Functions to be more productive in Python.

struct

struct is for examining objects to understand their contents.

Usage

from pyxtend import struct
struct(obj)
struct(obj, examples=True)

Example 1

A simple list of integers

Input: [1, 2, 3, 4, 5]
Output (without examples): {'list': ['int', 'int', 'int', '...5 total']}
Output (with examples): {'list': [1, 2, 3, '...5 total']}

Example 2

A list of lists

Input: [[1, 2, 3], [4, 5, 6], [7, 8, 9]]
Output (without examples): {'list': [{'list': ['int', 'int', 'int']}, {'list': ['int', 'int', 'int']}, {'list': ['int', 'int', 'int']}]}
Output (with examples): {'list': [[1, 2, 3], [4, 5, 6], [7, 8, 9]]}

Metadata

Release files for pyxtend 0.5.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 pyxtend 0.5.0
File Size Uploaded Provenance
pyxtend-0.5.0.tar.gz 4.8 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pyxtend 0.5.0
File Interpreter ABI Platform
pyxtend-0.5.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.8 kB

Release files / pyxtend-0.5.0.tar.gz

Download URL pyxtend-0.5.0.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
4ff8e7d206d1878d453f1df9bdfb0d2c8b393b71ff25b34dd152c71a8775759d
BLAKE2b-256 checksum
How to use checksums
189d69b83e9ae7939c7cb3cbfcd749a5dd990a473edf27670d9abedfd72fb5a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.7

Release files / pyxtend-0.5.0-py3-none-any.whl

Download URL pyxtend-0.5.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ef14645fbc9064114da59e1653b568f6fa653487ab7c853d4c179ad15cc594b
BLAKE2b-256 checksum
How to use checksums
ce0605ff8dc7ee7768ebc2854c9d5707ee703d650ea90fa17bb489d904076f85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.7

Security for pyxtend 0.5.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.

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