Skip to main content

Useful utils

Project description

sinaasappel

Useful utils

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

Uploaded Source

Built Distribution

sinaasappel-0.1.7-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sinaasappel-0.1.7.tar.gz
  • Upload date:
  • Size: 2.1 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.7.tar.gz
Algorithm Hash digest
SHA256 7f92de76e5e4e00ee38db4fba35b5a6b1cd650a31eabd495c15e4e38093e78dd
MD5 479e74b49fa190032ef1987b125c1e10
BLAKE2b-256 27168b415ae051260017ff6772b5226d1540f132a0a0a3e3dbc06de34d66b51c

See more details on using hashes here.

Provenance

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

Publisher: ci.yml on nicolasspring/sinaasappel

Attestations:

File details

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

File metadata

  • Download URL: sinaasappel-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 2.9 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 260dcf220921dbb555aa3bc8879a9cd817c80b677c55b1c4633630cea6b14cde
MD5 f388e6a88bea52f32f3c239ea645a207
BLAKE2b-256 60b931eccafa6a6140a7221958be77fdc80812e404df25b6a2213d73bd403033

See more details on using hashes here.

Provenance

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