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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: sinaasappel-0.1.6.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.6.tar.gz
Algorithm Hash digest
SHA256 aec912309d2835f23d17ae0b612760c27e29f1d9babac34162ed396f4325a1a7
MD5 4cb317c3d8a9cdf57a23c40478b02b8e
BLAKE2b-256 03daa413bdb460f21c92987724e375a88722bd060991ed32af92794502cee014

See more details on using hashes here.

Provenance

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

Publisher: ci.yml on nicolasspring/sinaasappel

Attestations:

File details

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

File metadata

  • Download URL: sinaasappel-0.1.6-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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5a1a1da568e143de9e111a83b68ebec289abb4f86eca6b787bb6e49a0f6f5372
MD5 35b828c443f2a1335f02edae2dc304ac
BLAKE2b-256 001bc8ae5dfb48c00db8466dac1d0ba71b3517ddc7b227927e9a2f9c6b0337cc

See more details on using hashes here.

Provenance

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