Skip to main content

Useful utils

Project description

sinaasappel

Useful utils

CI status Tests Coverage Package version Supported Python versions

Recursive sum

Use the following commands to calculate the sum of a nested list of ints:

from sinaasappel import recursive_sum

list_sum = recursive_sum([1, 2, [3, [4]]])
print(list_sum)  # prints 10

Project details


Download files

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

Source Distribution

sinaasappel-0.1.15.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

sinaasappel-0.1.15-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file sinaasappel-0.1.15.tar.gz.

File metadata

  • Download URL: sinaasappel-0.1.15.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for sinaasappel-0.1.15.tar.gz
Algorithm Hash digest
SHA256 4a6b2493c1f55239dc1d1cc1cd5c3099b59beb07dd40e7b0e5ac2c8080811a6c
MD5 2ddfc1ffaf434fcf8a8dd7b2c1f8ac1b
BLAKE2b-256 eec5a6b44ad160c9668c9fd256b99b96cd5190525fcc6307cd30d73aacb07d86

See more details on using hashes here.

Provenance

The following attestation bundles were made for sinaasappel-0.1.15.tar.gz:

Publisher: ci.yml on nicolasspring/sinaasappel

Attestations:

File details

Details for the file sinaasappel-0.1.15-py3-none-any.whl.

File metadata

File hashes

Hashes for sinaasappel-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 c8fa68bc0083a9096df4061f97f216eb8914a6eb6f8f0b7e0facbea9b4efae39
MD5 c63ed5c8b7dc307d7202b5963ef3f795
BLAKE2b-256 be15afdb6c675f653bcead05710eded29830fd4952654e93420d17a7ed8617cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for sinaasappel-0.1.15-py3-none-any.whl:

Publisher: ci.yml on nicolasspring/sinaasappel

Attestations:

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page