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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sinaasappel-0.1.19.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.19.tar.gz
Algorithm Hash digest
SHA256 a8d104004cfe43b2f76d4c0c9884b544c1f2a7f56eea6e778a37cc7a4d6d437a
MD5 5964b707ab2952febbc0191b05736a5b
BLAKE2b-256 d2572b7a3f23a31044eb9bef402d70c77b74fe115ef2948c26a3850f1d6bee39

See more details on using hashes here.

Provenance

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

Publisher: ci.yml on nicolasspring/sinaasappel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: sinaasappel-0.1.19-py3-none-any.whl
  • Upload date:
  • Size: 3.1 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.19-py3-none-any.whl
Algorithm Hash digest
SHA256 fbe9b1a288d959c3d2523f20e08b90875ab503941d757440bf7e0634af2896ee
MD5 9e115dc62ca549d76fbc38942df7c9f0
BLAKE2b-256 38b49496b05e06d49144e64b76b0b52e77d3d945eaaaf7162472a058cebff4ee

See more details on using hashes here.

Provenance

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

Publisher: ci.yml on nicolasspring/sinaasappel

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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