bidict VS portion

Compare bidict vs portion and see what are their differences.

portion

portion, a Python library providing data structure and operations for intervals. (by AlexandreDecan)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
bidict portion
- 2
1,405 454
- -
8.6 4.6
4 days ago 2 months ago
Python Python
Mozilla Public License 2.0 GNU Lesser General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

bidict

Posts with mentions or reviews of bidict. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning bidict yet.
Tracking mentions began in Dec 2020.

portion

Posts with mentions or reviews of portion. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-09-09.
  • Stumped with inheritance, how to get an inherited method to return the derived class instead of the base class
    2 projects | /r/learnpython | 9 Sep 2021
    $ pip install git+https://github.com/AlexandreDecan/portion.git Collecting git+https://github.com/AlexandreDecan/portion.git Cloning https://github.com/AlexandreDecan/portion.git to /tmp/pip-req-build-241lrtyw Running command git clone -q https://github.com/AlexandreDecan/portion.git /tmp/pip-req-build-241lrtyw Installing build dependencies ... done Getting requirements to build wheel ... done Preparing wheel metadata ... done Requirement already satisfied: sortedcontainers~=2.2 in /home/wbuntu/.local/lib/python3.8/site-packages (from portion==2.2.0.dev0) (2.4.0) Building wheels for collected packages: portion Building wheel for portion (PEP 517) ... done Created wheel for portion: filename=portion-2.2.0.dev0-py3-none-any.whl size=23786 sha256=7b8c438ffde61d8db70c28d4c5206530df206b00d6b0e9c39670481d10113efa Stored in directory: /tmp/pip-ephem-wheel-cache-3h6qvw2a/wheels/3f/9f/f4/e80d25371752004605bd857cc85b8056b77ca11268f316e6aa Successfully built portion Installing collected packages: portion Attempting uninstall: portion Found existing installation: portion 2.1.6 Uninstalling portion-2.1.6: Successfully uninstalled portion-2.1.6 Successfully installed portion-2.2.0.dev0 $ python3 >>> import timecode >>> t1 = timecode.TCInterval(20,30) >>> t2 = timecode.TCInterval(25,50) >>> t1|t2 TCInterval('0:00:20.000','0:00:50.000') >>> type(t1|t2)

What are some alternatives?

When comparing bidict and portion you can also consider the following projects:

Box - Python dictionaries with advanced dot notation access

python-benedict - :blue_book: dict subclass with keylist/keypath support, built-in I/O operations (base64, csv, html, ini, json, pickle, plist, query-string, toml, xls, xml, yaml), s3 support and many utilities.

DottedDict - Python library that provides a method of accessing lists and dicts with a dotted path notation.

Wordbook - Wordbook is a dictionary application built for GNOME.

dataclasses

idx - maps, sets and vectors with on-demand secondary indexes.

interval-timer - interval-timer is a Python package that enables iterating over a sequence of regular time intervals with high precision.

pyglossary - A tool for converting dictionary files aka glossaries. Mainly to help use our offline glossaries in any Open Source dictionary we like on any modern operating system / device.

honcho - Honcho: a python clone of Foreman. For managing Procfile-based applications.

prodict - Prodict, what Python dict meant to be.

static-frame - Immutable and statically-typeable DataFrames with runtime type and data validation