Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kmedian/randdate
Generate a list of random dates or resp. datetime objects
https://github.com/kmedian/randdate
pypi
Last synced: 2 days ago
JSON representation
Generate a list of random dates or resp. datetime objects
- Host: GitHub
- URL: https://github.com/kmedian/randdate
- Owner: kmedian
- License: mit
- Created: 2018-10-23T20:04:30.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2021-04-27T17:58:54.000Z (over 3 years ago)
- Last Synced: 2024-10-01T23:36:54.350Z (about 2 months ago)
- Topics: pypi
- Language: Python
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
[![PyPI version](https://badge.fury.io/py/randdate.svg)](https://badge.fury.io/py/randdate)
[![randdate](https://snyk.io/advisor/python/randdate/badge.svg)](https://snyk.io/advisor/python/randdate)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/kmedian/randdate.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/kmedian/randdate/alerts/)
[![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/kmedian/randdate.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/kmedian/randdate/context:python)
[![deepcode](https://www.deepcode.ai/api/gh/badge?key=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwbGF0Zm9ybTEiOiJnaCIsIm93bmVyMSI6ImttZWRpYW4iLCJyZXBvMSI6InJhbmRkYXRlIiwiaW5jbHVkZUxpbnQiOmZhbHNlLCJhdXRob3JJZCI6Mjk0NTIsImlhdCI6MTYxOTU0MDM0N30.mqU-JDLOg9XOiZ0xoxHVsWFmm9sPiYnBGg49okrZzi8)](https://www.deepcode.ai/app/gh/kmedian/randdate/_/dashboard?utm_content=gh%2Fkmedian%2Franddate)# randdate
Generate a list of random dates (datetime objects).## Installation
The `randdate` [git repo](http://github.com/kmedian/randdate) is available as [PyPi package](https://pypi.org/project/randdate)```
pip install randdate
```## Usage
Check the [examples](examples) folder for notebooks.## Commands
* Check syntax: `flake8 --ignore=F401`
* Remove `.pyc` files: `find . -type f -name "*.pyc" | xargs rm`
* Remove `__pycache__` folders: `find . -type d -name "__pycache__" | xargs rm -rf`Publish
```sh
pandoc README.md --from markdown --to rst -s -o README.rst
python setup.py sdist
twine upload -r pypi dist/*
```## Support
Please [open an issue](https://github.com/kmedian/randdate/issues/new) for support.## Contributing
Please contribute using [Github Flow](https://guides.github.com/introduction/flow/). Create a branch, add commits, and [open a pull request](https://github.com/kmedian/randdate/compare/).