python-benedict
portion
Our great sponsors
python-benedict | portion | |
---|---|---|
3 | 2 | |
1,391 | 449 | |
- | - | |
8.9 | 4.6 | |
3 days ago | about 1 month ago | |
Python | Python | |
MIT License | GNU Lesser General Public License v3.0 only |
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.
python-benedict
-
What are the best Python libraries to learn for beginners?
python-benedict: Dictionary manipulation library
-
The hand-picked selection of the best Python libraries and tools of 2022
python-benedict — a dict on steroids
portion
-
Stumped with inheritance, how to get an inherited method to return the derived class instead of the base class
$ 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)
I'm trying to make a subclass of Interval (https://github.com/AlexandreDecan/portion/blob/master/portion/interval.py), as shown here
What are some alternatives?
prodict - Prodict, what Python dict meant to be.
countries-states-cities-database - 🌍 Discover our global repository of countries, states, and cities! 🏙️ Get comprehensive data in JSON, SQL, PSQL, XML, YAML, and CSV formats. Access ISO2, ISO3 codes, country code, capital, native language, timezones (for countries), and more. #countries #states #cities
parse_it - A python library for parsing multiple types of config files, envvars & command line arguments that takes the headache out of setting app configurations.
basecrack - Decode All Bases - Base Scheme Decoder
structured-text-tools - A list of command-line tools for manipulating structured text data
bidict - The bidirectional mapping library for Python.
ebook-reader-dict - Finally decent dictionaries based on Wiktionary for your beloved eBook reader.
jinja2-cli - CLI for Jinja2
scout - Reading and writing in JSON, Plist, YAML and XML data made simple when the data format is not known at build time. Swift library and command-line tool.
hyperjson - 🐍 A hyper-fast Python module for reading/writing JSON data using Rust's serde-json.
Scout - Surveillance Detection Scout: Your Lookout on Autopilot
cels - Command line tool to patch your YAML, JSON and TOML files.