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.18.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.18-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sinaasappel-0.1.18.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.18.tar.gz
Algorithm Hash digest
SHA256 54016253692535d3ee0facbb5780cd3b855c81c99be26934760e06a5c98842c2
MD5 1ce4112d5dfa2c69de32c4b7d8459e12
BLAKE2b-256 13e304511ff460f98538ac11f8790a505c2e183fa5e9945a67c71b81222207f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for sinaasappel-0.1.18.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.18-py3-none-any.whl.

File metadata

  • Download URL: sinaasappel-0.1.18-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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 1a623caddace30105c1154d96b27609eb0a7dc0ffe93579e1347807844985923
MD5 72444468df1d2a974ac7ac6b2578cde7
BLAKE2b-256 3a92ea8e15c539ef9b8d74d98058f2a8208581c3cab5d9d70a24e6eb50faa58e

See more details on using hashes here.

Provenance

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