Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 2.0.2 instead.
Reason given by maintainers: This version is incorrectly selected by Python 2 installs

https://github.com/epsy/od/actions/workflows/ci.yml/badge.svg?branch=master https://coveralls.io/repos/github/epsy/od/badge.svg?branch=master

The od package adds a shorthand syntax to create instances of OrderedDict

>>> import od
>>>
>>> od["cat": "fish", "mouse": "cheese"]
OrderedDict([('cat', 'fish'), ('mouse', 'cheese')])
>>> od["mouse": "cheese", "cat": "fish"]
OrderedDict([('mouse', 'cheese'), ('cat', 'fish')])

You can also use it like the regular constructor for OrderedDict:

>>> od()
OrderedDict()
>>> an_iterable = [("cat", "fish"), ("mouse", "cheese")]
>>> od(an_iterable)
OrderedDict([('cat', 'fish'), ('mouse', 'cheese')])

Install this package using pip:

$ pip install --user od

Metadata

Release files for od 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for od 2.0.1
File Size Uploaded
od-2.0.1.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for od 2.0.1
File Interpreter ABI Platform
od-2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.7 kB

Release files / od-2.0.1.tar.gz

Download URL od-2.0.1.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
180fb0d13c3af1384047b8296c95683816b5d0c68a60c22d07c703be8bd755cb
BLAKE2b-256 checksum
How to use checksums
81a01d300dd2ff23fb6f269d827643a99b3b522e80ccbfe9317365e446008581
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.9

Release files / od-2.0.1-py3-none-any.whl

Download URL od-2.0.1-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
359957e9bfa08e5a2e163dd004706f8c985df3ce394d30ff12807f954b95690d
BLAKE2b-256 checksum
How to use checksums
f518e4b59597774b6d985df1f743846acfbd1ad05bcf7cac2503c4acc6263155
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.6.9

Release history Release notifications | RSS feed

2.0.2

2 release files

This release

2.0.1 This release

2 release files

2.0.0

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page