Skip to main content

foyndation

Base library of foyono projects.

API

foyndation

initlogging
def initlogging()

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

invokeall
def invokeall(callables)

Invoke every callable, even if one or more of them fail. This is mostly useful for synchronising with futures. If all succeeded return their return values as a list, otherwise raise all exceptions thrown as a chain.

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.

Metadata

Release files for foyndation 11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for foyndation 11
File Size Uploaded
foyndation-11.tar.gz 2.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for foyndation 11
File Interpreter ABI Platform
foyndation-11-py3-none-any.whl Python 3 none any Details

Total release size: 4.8 kB

Release files / foyndation-11.tar.gz

Download URL foyndation-11.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
269c5cc737b9c1de01cae232df6b71d897e2333cbca26ece476575e63a195659
BLAKE2b-256 checksum
How to use checksums
51daf6164cae0e5f0a145fdcdfddef6cdfe6b8f1ba727bcca39b75800e04ffb1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release files / foyndation-11-py3-none-any.whl

Download URL foyndation-11-py3-none-any.whl
Size 2.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f21705540b2c11b093806a5258dab4b338ae6404d5cf7c2a089c33623961650d
BLAKE2b-256 checksum
How to use checksums
7a9439fb6a146a259a00fd87b3877f99f6da714f78bfb061f658a88f06089f68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release history Release notifications | RSS feed

18

2 release files

17

2 release files

16

2 release files

15

2 release files

14

2 release files

13

2 release files

12

2 release files

This release

11 This release

2 release files

10

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page