Skip to main content

protocol-lib

Build

Protocols for better structural typing

Goals

Implement Protocols for:

  • Container
  • Hashable
  • Iterable
  • Iterator
  • Reversible
  • Generator
  • Sized
  • Callable
  • Collection
  • Sequence
  • MutableSequence
  • ByteString
  • Set
  • MutableSet
  • Mapping
  • MutableMapping
  • MappingView
  • ItemsView
  • KeysView
  • ValuesView
  • Awaitable
  • Coroutine
  • AsyncIterable
  • AsyncIterator
  • AsyncGenerator

Notes

Generator is not currently implemented in this library. This is due to challenges encountered when attempting to implement it.

Updating project config

To do this make edits to the .projenrc.js file in the root of the project and run npx projen to update existing or generate new config. Please also use npx prettier --trailing-comma all --write .projenrc.js to format this file.

Metadata

Release files for protocol-lib 1.0.0

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

Source distribution (sdist)

Source distribution for protocol-lib 1.0.0
File Size Uploaded
protocol-lib-1.0.0.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for protocol-lib 1.0.0
File Interpreter ABI Platform
protocol_lib-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 9.3 kB

Release files / protocol-lib-1.0.0.tar.gz

Download URL protocol-lib-1.0.0.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f387c914e964dcb329805587e18fe66b0353d9a07d31355d2c36e2e2d971e443
BLAKE2b-256 checksum
How to use checksums
3198b758015cbf98ae8fed3a3dda3e9929ca63e5c1fa8b64d0bc07e86dabba7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.10 CPython/3.8.12 Linux/5.8.0-1042-azure

Release files / protocol_lib-1.0.0-py3-none-any.whl

Download URL protocol_lib-1.0.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1406a8397f9d5dd1448c9ccb34c692cb8599aae1992ad0e0a80d3a2a0e6d2812
BLAKE2b-256 checksum
How to use checksums
0813ced5d7eae92a24eda76a8e1a38f140b4090766dd8e5e1b03f5840dad81c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.10 CPython/3.8.12 Linux/5.8.0-1042-azure

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

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