Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

python312-immutabledict-4.2.0-1.2 RPM for noarch

From OpenSuSE Tumbleweed for noarch

Name: python312-immutabledict Distribution: openSUSE Tumbleweed
Version: 4.2.0 Vendor: openSUSE
Release: 1.2 Build date: Sat Mar 16 09:33:35 2024
Group: Unspecified Build host: reproducible
Size: 21879 Source RPM: python-immutabledict-4.2.0-1.2.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/corenting/immutabledict
Summary: Immutable wrapper around dictionaries (a fork of frozendict)
A fork of the original frozendict, an immutable wrapper around dictionaries. This library is a pure Python, MIT-licensed alternative to the new LGPL-3.0 licensed frozendict.

It implements the complete mapping interface and can be used as a drop-in replacement for dictionaries where immutability is desired. The immutabledict constructor mimics dict, and all of the expected interfaces (iter, len, repr, hash, getitem) are provided. Note that an immutabledict does not guarantee the immutability of its values, so the utility of hash method is restricted by usage.

The only difference is that the copy() method of immutable takes variable keyword arguments, which will be present as key/value pairs in the new, immutable copy.

Provides

Requires

License

MIT

Changelog

* Sat Mar 16 2024 Dirk Müller <dmueller@suse.com>
  - update to 4.2.0:
    * Add `discard` method which return a new immutabledict without
      the item at the given key, if present
* Mon Feb 12 2024 Steve Kowalik <steven.kowalik@suse.com>
  - Use pytest to run the testsuite.
* Sat Dec 16 2023 Dirk Müller <dmueller@suse.com>
  - update to 4.1.0:
    * Do not store cached hash value when pickling
* Thu Dec 07 2023 Dirk Müller <dmueller@suse.com>
  - update to 4.0.0:
    * Replace `__init__` by `__new__`.
    * Add explicit items()/keys()/values() methods to speedup these
      methods.
    * Add set/delete/update functions.
    * Add documentation at immutabledict.corenting.fr
* Thu Aug 10 2023 Dirk Müller <dmueller@suse.com>
  - update to 3.0.0:
    * copy() (breaking change): remove the option to pass keyword
      arguments (which were present as key/value pairs in the copy).
      Now the method doesn't take any arguments (it behaves the same
      as a normal dict).
    * Python versions: drop Python 3.7 support
    * Typing: fixes
    - Make the key covariant. Thanks to @spacether for the PR #244
    - Fix key/value typing missing for ImmutableOrderedDict
* Mon Jul 10 2023 ecsos <ecsos@opensuse.org>
  - Add %{?sle15_python_module_pythons}
* Thu Jul 06 2023 Dirk Müller <dmueller@suse.com>
  - update to 2.2.5:
    * Fix hard-coded class reference in fromkeys() resulting in
      always using `dict` for `fromkeys()` (instead of OrderedDict
      in ImmutableOrderedDict for example)
* Sat Apr 08 2023 Marcus Rueckert <mrueckert@suse.de>
  - initial package

Files

/usr/lib/python3.12/site-packages/immutabledict
/usr/lib/python3.12/site-packages/immutabledict-4.2.0.dist-info
/usr/lib/python3.12/site-packages/immutabledict-4.2.0.dist-info/INSTALLER
/usr/lib/python3.12/site-packages/immutabledict-4.2.0.dist-info/LICENSE
/usr/lib/python3.12/site-packages/immutabledict-4.2.0.dist-info/METADATA
/usr/lib/python3.12/site-packages/immutabledict-4.2.0.dist-info/RECORD
/usr/lib/python3.12/site-packages/immutabledict-4.2.0.dist-info/REQUESTED
/usr/lib/python3.12/site-packages/immutabledict-4.2.0.dist-info/WHEEL
/usr/lib/python3.12/site-packages/immutabledict/__init__.py
/usr/lib/python3.12/site-packages/immutabledict/__pycache__
/usr/lib/python3.12/site-packages/immutabledict/__pycache__/__init__.cpython-312.opt-1.pyc
/usr/lib/python3.12/site-packages/immutabledict/__pycache__/__init__.cpython-312.pyc
/usr/lib/python3.12/site-packages/immutabledict/py.typed
/usr/share/doc/packages/python312-immutabledict
/usr/share/doc/packages/python312-immutabledict/README.md
/usr/share/licenses/python312-immutabledict
/usr/share/licenses/python312-immutabledict/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Wed May 1 23:23:10 2024