destag / at-date Goto Github PK
View Code? Open in Web Editor NEWSimple Python library for at-date string parsing
Home Page: https://destag.github.io/at-date/
License: MIT License
Simple Python library for at-date string parsing
Home Page: https://destag.github.io/at-date/
License: MIT License
Every test should check if parsing changes day, month and year. What will probably end with massive code duplication.
For this reason, the tests should be refactored and parametrized. I think we can try to do it with pytest parametrization.
Other ideas are welcome.
Parser now require string in format like now next month
.
It would be good if word now
would be optional and strings like next month
would be parsed like one above.
This change requires adding rule to parser string and probably adding additional methods to api.py.
requirements.txt and test-requirements.txt should be replaced with Pipfile.
Then Travis-CI configuration should be changed.
More info about pipenv can be found there.
Dependabot couldn't authenticate with https://pypi.org/simple/.
You can provide authentication details in your Dependabot dashboard by clicking into the account menu (in the top right) and selecting 'Config variables'.
Add more pytest tests into test/test_atdate.py
I think that it would be nice to support dates and times in ISO 8601 format.
Readme should include info about:
It would be good to write some docstrings to describe public methods in api.py file.
Docstrings should be in format:
"""Short description.
Longer description
if needed.
Args:
param1 (int): The first parameter.
param2 (str): The second parameter.
Returns:
int: Sum of param1 and length of param2.
Raises:
ValueError: If arguments have wrong types.
"""
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.