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.10.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sinaasappel-0.1.10.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.10.tar.gz
Algorithm Hash digest
SHA256 0f3416cabb25c0ce484446cc88e8d99704f1571d5bd8655cce044494e857ee2d
MD5 e9f986e27b44cd107c7e11e9475fd47e
BLAKE2b-256 8bcb9809d400d900099221d89202f4b557f40144d7f0b7d072b4502f3ab4c821

See more details on using hashes here.

Provenance

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

Publisher: ci.yml on nicolasspring/sinaasappel

Attestations:

File details

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

File metadata

File hashes

Hashes for sinaasappel-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 b68c9003ede4a46a2e66ebb4e01bb098958363c8b7a2ff161129aa8e57637158
MD5 6f34e579d10ad8ae29a974b43ba2e2d1
BLAKE2b-256 278df113ea361edfb162e6d10561a04760b3b2e6dc693e277937f354c78cc408

See more details on using hashes here.

Provenance

The following attestation bundles were made for sinaasappel-0.1.10-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