Skip to main content
# Simplads #

Simplads are a way to structure complicated algorithms. Design and test each function independently and provide a single linking function to explain exactly what the code does. Elegantly introduce stateful operations only when needed without sacrificing readability or testability.

### Example usage ###

```python
from simplads import Bundle, WriterDeltaMaker, ReaderDeltamaker, lift
write = WriterDeltaMaker.write
read = ReaderDeltaMaker.read

# read and write example
def example():
obj = {}
b = Bundle().add_writer(obj).add_reader(obj)
return b.unit().pipe([
write,
read,
lift(lambda i: i.read_val)])

def read(i):
return Bundle.delta(i, 'writer', write(keys=['keys'], new_data='val'))

def write(i):
return Bundle.delta(i, 'reader', read(['key']))
```

### Installation ###

pip install simplads

Metadata

Release files for simplads 0.38

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for simplads 0.38
File Size Uploaded Provenance
simplads-0.38.tar.gz 7.5 kB Without provenance Details

Release files / simplads-0.38.tar.gz

Download URL simplads-0.38.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
85f3bec3a2f1e1fd61f8d1f78d5441d7098e309d6e9a1c84d6e8b4094cfdc380
BLAKE2b-256 checksum
How to use checksums
4bb2ae44c6e455ff0044b4efabd537b4e5e79ba73ea9bebc2af57d2e1d5634f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for simplads 0.38

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