nr.types
nr.types is a Python library aiming to provide a broad set of common tools
for developing Python applications.
This library is published to PyPI and Conda-forge. It is compatible with CPython 2.7 and 3.4+.
Table of Contents
nr.types.abc– Alias forcollections.abcorcollections.nr.types.collections– Additional container data structures.nr.types.generic– Write classes with type parameters.nr.types.interface– Programming against interfaces in Python, inspired by Zope.nr.types.meta– Useful metaclasses.nr.types.persist– SimplePersistableclass which is useful in quick scripts that need to cache some data.nr.types.proxy– Eager and lazy object proxies.nr.types.singletons– Provides singletons likeNotSet.nr.types.stream– Streaming iterators in Python.nr.types.struct– Data-model description library.nr.types.sumtype– Allows you to create sumtypes in Python.nr.types.utils– More generic utilities.nr.types.utils.classdef– Helpers for writing class definitions.nr.types.utils.funcdef– Helper for writing functions.nr.types.utils.function– Utilities for function objects.nr.types.utils.logging– Currently only provides aDeferredMessageclass.nr.types.utils.module– Utilities for module objects.nr.types.utils.typing– Utilities for objects from thetypingmodule.
Installation
pip install nr.types
Run Tests
pip install -e .[test]
pytest --cov=./src/nr
Copyright © Niklas Rosenstein 2019
Metadata
Release files for nr.types 4.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nr.types-4.0.2.tar.gz | 61.0 kB | Details |
Release files / nr.types-4.0.2.tar.gz
| Download URL | nr.types-4.0.2.tar.gz |
|---|---|
| Size | 61.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c44f37441cf5d563c9e0302dc2bc942b2a22d7a73ff18fa71f88017fa6254ef
|
|
BLAKE2b-256 checksum How to use checksums |
768c8480270d9b210f85b1e3846dd735a0b94a8b81c41ca1a2d439d0259a6bcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.2
|