Skip to main content

Generate a list of random dates or resp. datetime objects

Project description

|PyPI version| |randdate| |Total alerts| |Language grade: Python| |deepcode|

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

.. code:: 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/>.

.. |PyPI version| image:: https://badge.fury.io/py/randdate.svg :target: https://badge.fury.io/py/randdate .. |randdate| image:: https://snyk.io/advisor/python/randdate/badge.svg :target: https://snyk.io/advisor/python/randdate .. |Total alerts| image:: https://img.shields.io/lgtm/alerts/g/kmedian/randdate.svg?logo=lgtm&logoWidth=18 :target: https://lgtm.com/projects/g/kmedian/randdate/alerts/ .. |Language grade: Python| image:: https://img.shields.io/lgtm/grade/python/g/kmedian/randdate.svg?logo=lgtm&logoWidth=18 :target: https://lgtm.com/projects/g/kmedian/randdate/context:python .. |deepcode| image:: https://www.deepcode.ai/api/gh/badge?key=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwbGF0Zm9ybTEiOiJnaCIsIm93bmVyMSI6ImttZWRpYW4iLCJyZXBvMSI6InJhbmRkYXRlIiwiaW5jbHVkZUxpbnQiOmZhbHNlLCJhdXRob3JJZCI6Mjk0NTIsImlhdCI6MTYxOTU0MDM0N30.mqU-JDLOg9XOiZ0xoxHVsWFmm9sPiYnBGg49okrZzi8 :target: https://www.deepcode.ai/app/gh/kmedian/randdate/_/dashboard?utm_content=gh%2Fkmedian%2Franddate

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

randdate-0.1.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page