Skip to main content

Base library of foyono projects

Project description

foyndation

Base library of foyono projects.

API

foyndation

initlogging
def initlogging()

Initialise the logging module to send debug (and higher levels) to stderr.

rmsuffix
def rmsuffix(text, suffix)

Return text with suffix removed, or None if text does not end with suffix.

singleton
def singleton(t)

The decorated class is replaced with a no-arg instance. Can also be used to replace a factory function with its result.

solo
def solo(v)

Assert exactly one object in the given sequence and return it.

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

foyndation-10.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

foyndation-10-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file foyndation-10.tar.gz.

File metadata

  • Download URL: foyndation-10.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for foyndation-10.tar.gz
Algorithm Hash digest
SHA256 e8dad1981eedc0a4b3d6a1fa4aab2b03f116a46c720985a523abd094b7f4352e
MD5 34d151918496625390906bb5f21b729d
BLAKE2b-256 979f419a1a1ad5413b4e0eac6198ac6a695fd5ed640c251582d0f41e47d05041

See more details on using hashes here.

File details

Details for the file foyndation-10-py3-none-any.whl.

File metadata

  • Download URL: foyndation-10-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for foyndation-10-py3-none-any.whl
Algorithm Hash digest
SHA256 8b7a954bed682dc37e69ea1104569ceee6a2827dbe7817bba3e00529e23972ec
MD5 56c537541b9b9b41e862abc4a7a96673
BLAKE2b-256 919efb01ba50ad85ffb6eedc44b8bb6bee479739ea48c79b175d1743b701d9f4

See more details on using hashes here.

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