Anything related to Python datatypes.
Project description
nr.types
A collection of useful Python datatypes, including enumerations, generics, enhanced mappings, meta-programming tools and sumtypes.
Changes
1.1.0 (2018-08-18)
- Add missing
namespace_packages
paramater to setup - Add
nr.types.set
module withOrderedSet
class - Add
ValueIterableMap
tonr.types.map
- Add
Sumtype.__eq__()
andSumtype.__ne__()
- Add
ChainMap.get()
- Make maps inherit from
collections.MutableMapping
1.0.6 (2018-07-14)
- Default values in annotated fields specified in subclasses of the
nr.types.named.Named
class can now be functions in which case they behave the same as passing that function to aNamed.Initializer
- Add
HashDict
class tonr.types.map
1.0.5 (2018-07-05)
- Add missing requirement
six
tosetup.py
andrequirements.txt
1.0.4 (2018-06-29)
- Add
nr.types.function
module - Add
nr.types.generic
module - Make
nr.types.named
module Python 2.6 compatible - Fix
ObjectAsMap.__new__
andMapAsObject.__new__
1.0.3 (2018-06-03)
- Hotfix for the
__version__
member in thenr.types
module
1.0.2 (2018-06-03)
- Setup script Python 2 compatibility
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nr.types-1.1.0.tar.gz
(16.3 kB
view details)
File details
Details for the file nr.types-1.1.0.tar.gz
.
File metadata
- Download URL: nr.types-1.1.0.tar.gz
- Upload date:
- Size: 16.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a24ffc8c1c13e69a957bd167437ce6f00cbdc23fd8714c9db588b69962d376e |
|
MD5 | f524f4512a005444eb24b2fa0c5fc151 |
|
BLAKE2b-256 | ddcf47d916b05ce1610c96b82fd89969bcc1069620575cad26d0d83714ca18c7 |