Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
|PyPI version| |datefeatures| |Total alerts| |Language grade: Python| |deepcode|
Installation <#installation>
__Usage <#usage>
__Commands <#commands>
__Support <#support>
__Contributing <#contributing>
__The datefeatures
git repo <http://github.com/kmedian/datefeatures>
__ is available as PyPi package <https://pypi.org/project/datefeatures>
__
::
pip install datefeatures
Check the examples <examples>
__ folder for notebooks.
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 lab
flake8 --ignore=F401 --exclude=$(grep -v '^#' .gitignore | xargs | sed -e 's/ /,/g')
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
Please open an issue <https://github.com/kmedian/datefeatures/issues/new>
__ for
support.
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
Feature engineering sklearn transformer for dates
We found that datefeatures demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.