Skip to main content

The Nirum runtime library for Python

Project description

nirum-python

Latest PyPI version Build status

The Nirum runtime library for Python. Distributed under MIT license.

(You probably don’t need to directly use this package.)

Changelog

Version 0.5.6

Released on April 5, 2018.

  • Fixed a bug that hash() on nirum.datastructures.List had raised TypeError.

Version 0.5.5

Released on April 5, 2018.

  • Added missing equality functions (i.e., ==, != operators, & hash() function) to nirum.datastructures.Map and nirum.datastructures.List. [#110]

Version 0.5.4

Released on December 9, 2017.

  • Made nirum.datastructures.List to copy the given value so that it doesn’t refer given value’s state and is immutable.

Version 0.5.3

Released on July 6, 2017.

  • Fixed a serialization bug that other set-like (i.e. collections.Set) types than Python built-in set hadn’t been reduced to simpler forms so that they can be encoded to JSON.

  • Fixed a serialization bug that other list-like (i.e. collections.Sequence) types than Python built-in list hadn’t been reduced to simpler forms so that they can be encoded to JSON.

Version 0.5.2

Released on June 23, 2017.

  • url of nirum.rpc.Client and method of nirum.rpc.Client.make_request now can be both unicode and str on Python 2.7. [#87]

  • nirum.rpc.Client had been an old-style class on Python 2, but now it became a new-style class also on Python 2. (As Python 3 has only new-style class, there’s no change on Python 3.)

Version 0.5.1

Released on June 22, 2017.

  • Added Python 3.6 support.

  • Fixed a bug that service client methods hadn’t raised the proper error type but nirum.exc.UnexpectedNirumResponseError instead. [#71]

  • Wheel distributions (nirum-*.whl) are now universal between Python 2 and 3. [#78]

  • nirum.rpc.Service had been an old-style class on Python 2, but now it became a new-style class also on Python 2. (As Python 3 has only new-style class, there’s no change on Python 3.) [#83]

  • nirum.rpc.Client and its subtype became to raise TypeError with a better error message when its make_request() method is overridden and it returns a wrong artity of tuple. [#80]

  • nirum.rpc.WsgiApp and its subtype became to raise TypeError with a better error message when its make_response() method is overridden and it returns a wrong artity of tuple. [#80]

  • Fixed a bug that Client.ping() method had always raised TypeError. [#80]

  • Corrected a typo Accepts on request headers Client makes to Accept.

Version 0.5.0

Released on June 1, 2017.

  • Service methods became able to specify its error type. [#71]

  • Added nirum-server command to run simply Nirum service.

Version 0.4.3

Released on April 5, 2018.

  • Added missing equality functions (i.e., ==, != operators, & hash() function) to nirum.datastructures.Map and nirum.datastructures.List. [#110]

Version 0.4.2

Released on July 6, 2017.

  • Fixed a serialization bug that other set-like (i.e. collections.Set) types than Python built-in set hadn’t been reduced to simpler forms so that they can be encoded to JSON.

  • Fixed a serialization bug that other list-like (i.e. collections.Sequence) types than Python built-in list hadn’t been reduced to simpler forms so that they can be encoded to JSON.

Version 0.4.1

Released on May 2, 2017.

  • Compare type with its abstract type in nirum.validate.validate_type.

Version 0.4.0

Released on March 20, 2017.

  • Encoding of map types was changed according to the Nirum serialization specification. [#66]

  • Added nirum.datastructures module and nirum.datastructures.Map which is an immutable dictionary. [#66]

  • Added nirum.datastructures.List which is an immutable list. [#49]

  • Aliased nirum.datastructures.Map as map_type, and nirum.datastructures.List as list_type to avoid name conflict with user-defined types.

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

nirum-0.5.6.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

nirum-0.5.6-py2.py3-none-any.whl (18.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nirum-0.5.6.tar.gz.

File metadata

  • Download URL: nirum-0.5.6.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nirum-0.5.6.tar.gz
Algorithm Hash digest
SHA256 d987a9cb7c131ef4da4defa84d48abbdc046d2def8d55e0ca1e226b720d2574a
MD5 0219951f165a99ee2e2070042f98b8f7
BLAKE2b-256 281707cfe347f13f1ae0d4fa53ea9fcbb1cb4878cec77720538212acbcd75953

See more details on using hashes here.

File details

Details for the file nirum-0.5.6-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for nirum-0.5.6-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d6d14791877cb7b30e66fed845ac197419f33e900e9aab1c50e95f198727b75a
MD5 3ba688c5c0b4ef195975479b6bf4b1ed
BLAKE2b-256 f5b18f104a4697ce41ce7ecd2031b285344fde3e3fe2f5e80ba724f907f3cf9a

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