Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

datefeatures

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datefeatures

Feature engineering sklearn transformer for dates

  • 0.3.2
  • PyPI
  • Socket score

Maintainers
1

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

datefeatures

Table of Contents

  • Installation <#installation>__
  • Usage <#usage>__
  • Commands <#commands>__
  • Support <#support>__
  • Contributing <#contributing>__

Installation

The datefeatures git repo <http://github.com/kmedian/datefeatures>__ is available as PyPi package <https://pypi.org/project/datefeatures>__

::

pip install datefeatures

Usage

Check the examples <examples>__ folder for notebooks.

Commands

Install a virtual environment

::

python3 -m venv .venv # see note below source .venv/bin/activate pip3 install --upgrade pip pip3 install -r requirements.txt pip3 install jupyterlab

(If your git repo is stored in a folder with whitespaces, then don’t use the subfolder .venv. Use an absolute path without whitespaces.)

Python commands

  • Jupyter for the examples: jupyter lab
  • Check syntax: flake8 --ignore=F401 --exclude=$(grep -v '^#' .gitignore | xargs | sed -e 's/ /,/g')
  • Run Unit Tests: python -W ignore -m unittest discover

Publish

.. code:: sh

pandoc README.md --from markdown --to rst -s -o README.rst python setup.py sdist twine upload -r pypi dist/*

Clean up

::

find . -type f -name "*.pyc" | xargs rm find . -type d -name "pycache" | xargs rm -r rm -r .pytest_cache rm -r .venv

Support

Please open an issue <https://github.com/kmedian/datefeatures/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/datefeatures/compare/>.

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

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc