Skip to main content

Useful utils

Project description

sinaasappel

Useful utils

CI status Tests 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.9.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

sinaasappel-0.1.9-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sinaasappel-0.1.9.tar.gz
  • Upload date:
  • Size: 2.2 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.9.tar.gz
Algorithm Hash digest
SHA256 ba6d0655a761401181307ef5de327ac1db3a33696c88eeee9919ea0b5864944d
MD5 9d6fa568de35c05741d6dcb6c2059023
BLAKE2b-256 b797623d4183a596512d3af6f74cc26e03ca1eaa32c086fd7ab23a44ea1c27b5

See more details on using hashes here.

Provenance

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

Publisher: ci.yml on nicolasspring/sinaasappel

Attestations:

File details

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

File metadata

  • Download URL: sinaasappel-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for sinaasappel-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 97cd6e3626e398e22d6ae9f0475dcd2055062f8bd7cb838ca4c8fbe89c3d35b9
MD5 f209913543d68a085ada2876c12adf38
BLAKE2b-256 d4751b032a7e26773c356bc8eb8416a3ae1a6816ae1565ed2251f6566626d2f9

See more details on using hashes here.

Provenance

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