Skip to main content

🧼 cleanslay

cleanslay is a Python library that safely sanitizes complex objects into JSON-serializable structures.

It handles:

  • Built-in types: str, int, float, bool, None
  • Collections: dict, list, tuple, set
  • Special types: datetime, date, UUID, Decimal
  • Libraries:
    • ✅ Pydantic models
    • ✅ Dataclasses
    • ✅ NumPy arrays and scalars
    • ✅ Pandas Series and DataFrames
  • Fallback for custom classes

🔧 Installation

pip install cleanslay

For development

poetry install --extras "test"
or
pip3 install ".[test]"

For testing

pytest tests --tb=short --disable-warnings

Metadata

Release files for cleanslay 0.1.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 cleanslay 0.1.0
File Size Uploaded Provenance Actions
cleanslay-0.1.0.tar.gz 4.1 kB With provenance Details for cleanslay-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 7.6 kB

Release files / cleanslay-0.1.0.tar.gz

Download URL cleanslay-0.1.0.tar.gz
Size 4.1 kB
Tags Source
SHA-256 checksum
How to use checksums
340dda55ef5626adc2f7cba836dd5f7b9f21f1b5b562386d4dc6d5ebca3a2d04
BLAKE2b-256 checksum
How to use checksums
091fb4c6702634d1d2896ae080d93812f28159ff0d3e214bc6ecebb1f507cc20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 21, 2025.

Transparency log

Release files / cleanslay-0.1.0-py3-none-any.whl

Download URL cleanslay-0.1.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf1e037aa102afab26384e380709aa91a696e29e3d1a9ab51b0178489ff7d278
BLAKE2b-256 checksum
How to use checksums
f56a7d35aa6cf144d1683b38e4b2f5f8df45bdeb112beb21182c2acafd24cb19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 21, 2025.

Transparency log

Security for cleanslay 0.1.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cleanslay-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 21, 2025.

Transparency log

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

0.1.0 This release

2 release files Full 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