jsonify-opening-hours
parse_it
Our great sponsors
jsonify-opening-hours | parse_it | |
---|---|---|
2 | - | |
8 | 107 | |
- | - | |
0.0 | 7.2 | |
almost 2 years ago | 5 days 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.
jsonify-opening-hours
-
Looking for a second opinion on my python string parsing library for parsing opening hours of businesses
I've been building a library (https://github.com/MoralCode/jsonify-opening-hours) to parse arbitrary strings containing business opening hours, however While its quite well tested and fairly well designed, I feel like the code is starting to get a little messy and 'd like some advice on how I can make this code really clean and more flexible so I can build upon the parsing later to support more different styles of business hours strings.
-
I made a library to parse business operating hours into JSON so it can be worked with more easily
Source code is on GitHub at https://github.com/MoralCode/jsonify-opening-hours It is also on PyPi at https://pypi.org/project/jsonify-opening-hours/
parse_it
We haven't tracked posts mentioning parse_it yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
omegaconf - Flexible Python configuration system. The last one you will ever need.
python-dotenv - Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.
ConfigParser
dynaconf - Configuration Management for Python ⚙
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.
profig - A straightforward configuration library for Python.
django-environ - Django-environ allows you to utilize 12factor inspired environment variables to configure your Django application.
ConfigObj - Python 3+ compatible port of the configobj library
django-dotenv - Loads environment variables from .env
hydra - Hydra is a framework for elegantly configuring complex applications
python-decouple - Strict separation of config from code.
classyconf - Declarative and extensible library for configuration & code separation