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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplads-0.38.tar.gz (7.5 kB view details)

Uploaded Source

File details

Details for the file simplads-0.38.tar.gz.

File metadata

  • Download URL: simplads-0.38.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for simplads-0.38.tar.gz
Algorithm Hash digest
SHA256 85f3bec3a2f1e1fd61f8d1f78d5441d7098e309d6e9a1c84d6e8b4094cfdc380
MD5 d9983d075553eb06ea75e2c89b449cb6
BLAKE2b-256 4bb2ae44c6e455ff0044b4efabd537b4e5e79ba73ea9bebc2af57d2e1d5634f1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.38 This release

1 file

0.37

1 file

0.36

1 file

0.35

1 file

0.34

1 file

0.33

1 file

0.32

1 file

0.31

1 file

0.30

1 file

0.29

1 file

0.28

1 file

0.27

1 file

0.26

1 file

0.25

1 file

0.24

1 file

0.23

1 file

0.22

1 file

0.21

1 file

0.20

1 file

0.19

1 file

0.18

1 file

0.17

1 file

0.16

1 file

0.15

1 file

0.13

1 file

0.12

1 file

0.11

1 file

0.1.1

1 file

0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page