Skip to main content

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 with OrderedSet class
  • Add ValueIterableMap to nr.types.map
  • Add Sumtype.__eq__() and Sumtype.__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 a Named.Initializer
  • Add HashDict class to nr.types.map

1.0.5 (2018-07-05)

  • Add missing requirement six to setup.py and requirements.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__ and MapAsObject.__new__

1.0.3 (2018-06-03)

  • Hotfix for the __version__ member in the nr.types module

1.0.2 (2018-06-03)

  • Setup script Python 2 compatibility

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

nr.types-1.1.0.tar.gz (16.3 kB view details)

Uploaded Source

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

Hashes for nr.types-1.1.0.tar.gz
Algorithm Hash digest
SHA256 9a24ffc8c1c13e69a957bd167437ce6f00cbdc23fd8714c9db588b69962d376e
MD5 f524f4512a005444eb24b2fa0c5fc151
BLAKE2b-256 ddcf47d916b05ce1610c96b82fd89969bcc1069620575cad26d0d83714ca18c7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page