semvec/pypi-packages huggingface dataset:
mlkatas 0.0.5
Utility functions for Machine Learning
License: MIT
Requires Python: >=3.6

# mlkatas

Utility functions for Machine Learning, used by the [Machine Learning Handbook](https://github.com/bpesquet/machine-learning-handbook) and [Machine Learning Katas](https://github.com/bpesquet/machine-learning-katas).

Mostly compiled from the article series [Applied Deep Learning](https://towardsdatascience.com/applied-deep-learning-part-1-artificial-neural-networks-d7834f67a4f6) and examples from the book [Deep Learning with Python](https://github.com/fchollet/deep-learning-with-python-notebooks).
codycd 0.2.0
Cody is a lightweight microservice that you can install on your machines to automate deploy requests with a simple POST request using Gitlab!
License: MIT

Cody
====

Cody is our lightweight microservice that you can install on your
machines to automate deploy with a simple POST request using Gitlab ��!
You'll receive the results on Slack

Installation
------------

::

    pip install codycd

Before starting
---------------

Ensure you have port ``11001`` open

::

    ufw allow 11001

Ensure you have ``cody.sh`` script file inside your project where you
define your CD instructions! Then run ``Cody`` using

Start Cody
----------

::

    cody start

After configuration, try to execute a deploy

::

    curl -H "X-Gitlab-Token: MY_PROJECT_TOKEN" -X POST http://localhost:11001/api/deploy

Stop Cody
---------

::

    cody stop

Show configuration
------------------

::

    cody showconfig

It returns the current configuration

::

    Project name: Projectname
    Project path: /var/www/lotrek/myproject
    Token: f4k3t0k3n3v3rywH3r3
    Slack hook: https://hooks.slack.com/F4k3/W3BH00k
cologging 0.1
ColorFormatter class for logging module.
License: MIT
Keywords: logging color

# cologging
## Description
Add some colors to your logs in one simple step!

## Quickstart
- Add the formatter to your stream handler and enjoy rainbowy output
``` python
import cologging
import logging

log = logging.getLogger('Colorful')

formatter = cologging.ColorFormatter('%(levelname)s: %(message)s')

sh = logging.StreamHandler()
sh.setFormatter(formatter)

log.addHandler(sh)
log.setLevel(logging.DEBUG)

log.debug('Debug in blue')
log.info('Info in green')
log.warning('Warning in yellow')
log.error('Error in red')
```

- As you can see the colors are not added when output is redirected
<img src="https://raw.githubusercontent.com/filwie/images/master/cologging/demo.png" alt="demo" width="100%"/>
django-blockmodelbackend 0.3.0
Custom model backend for blocking users and ip after several attempts to access wrongly
License: MIT
Keywords: django-blockmodelbackend

=============================
django-blockmodelbackend
=============================

Custom model backend for blocking users and ip after several attempts to access wrongly


Installation
------------

#. Install django-blockmodelbackend::

    pip install django-blockmodelbackend


#. Add ``blockmodelbackend`` to your ``INSTALLED_APPS`` settings::

	INSTALLED_APPS = [
		...
		'blockmodelbackend',
	]

#. Run  ``migrate`` command::

	python manage.py migrate

#. Add the new backend class to your ``AUTHENTICATION_BACKENDS`` settings::

	AUTHENTICATION_BACKENDS = [
		...
		'blockmodelbackend.modelbackend.BlockModelBackend',
	]

Configuration
-------------

There is some parameters to customize the backend.

. ``MAX_ACCESS_ATTEMPTS``:[ ``3`` ] maximum numbers of wrong authentication attempts before blocking

. ``LOCK_DURATION``:[ ``5`` ] lock duration in minutes

. ``DELTA_LOCK_DURATION``:[ ``1`` ] increase in the lock duration in minutes

. ``USER_PERMANENT_BLOCK``:[ ``False`` ] boolean value

. ``IP_PERMANENT_BLOCK``:[ ``False`` ] boolean value

. ``BLOCK_TYPE``:[ ``both`` ] choice between ``both``, ``user`` or ``ip``
mobypy 1.0.2
Python module for searching the Moby thesaurus
License: MIT
Keywords: moby,thesaurus,synonyms,language,python

mobypy 
==================================================================


Python module for searching the Moby Thesaurus created by Grady Ward

To Install mobypy:
------------------

>>> pip install mobypy

To Use mobypy:
--------------

>>> import mobypy

>>> synonyms = mobypy.synonyms("abbreviated")
>>> print(synonyms)
['Spartan', 'abridged', 'abstracted', 'aposiopestic', 'bobbed', 'brief', 'brusque', 'capsule', 'capsulized', 'clipped', 'close', 'compact', 'compendious', 'compressed', 'concise', 'condensed', 'contracted', 'crisp', 'cropped', 'curt', 'curtailed', 'cut', 'cut short', 'digested', 'docked', 'elided', 'elliptic', 'epigrammatic', 'gnomic', 'laconic', 'mowed', 'mown', 'nipped', 'pithy', 'pointed', 'pollard', 'polled', 'pruned', 'reaped', 'reserved', 'sententious', 'shaved', 'sheared', 'short', 'short and sweet', 'short-cut', 'shortened', 'snub', 'snubbed', 'succinct', 'summary', 'synopsized', 'taciturn', 'terse', 'tight', 'to the point', 'trimmed', 'truncated']

>>> short_synonyms = mobypy.short_synonyms("abbreviated")
>>> print(short_synonyms)
['brief', 'close', 'crisp', 'curt', 'cut', 'mowed', 'mown', 'pithy', 'short', 'snub', 'terse', 'tight']

>>> long_synonyms = mobypy.long_synonyms("abbreviated")
>>> print(long_synonyms)
['Spartan', 'abridged', 'abstracted', 'aposiopestic', 'bobbed', 'brusque', 'capsule', 'capsulized', 'clipped', 'compact', 'compendious', 'compressed', 'concise', 'condensed', 'contracted', 'cropped', 'curtailed', 'cut short', 'digested', 'docked', 'elided', 'elliptic', 'epigrammatic', 'gnomic', 'laconic', 'nipped', 'pointed', 'pollard', 'polled', 'pruned', 'reaped', 'reserved', 'sententious', 'shaved', 'sheared', 'short and sweet', 'short-cut', 'shortened', 'snubbed', 'succinct', 'summary', 'synopsized', 'taciturn', 'to the point', 'trimmed', 'truncated']

>>> rev_search = mobypy.reverse_search("abbreviate")
>>> print(rev_search)
['compact', 'cut short', 'cut', 'short', 'snub']

If no results are found, an empty list is returned

>>> bad_search = mobypy.synonyms("asdasdasdasd")
>>> bad_search = mobypy.long_synonyms("asdasdasdasd")
>>> bad_search = mobypy.short_synonyms("asdasdasdasd")
>>> bad_search = mobypy.reverse_search("asdasdasdasd")
>>> print(bad_search)
[]
djcms-custom-menu 1.0.5
An extension for Django CMS that allows you to create and edit multiple menus like Wordpress. This is compatible for Python 3.6, Django 2.1.9, django-cms 3.6.0
License: MIT

Django CMS Custom Menu
======================

An extension for Django CMS that allows you to create multiple menus like Wordpress. This is compatible for Python 3.6, Django 2.1.9, django-cms 3.6.0

Replaces Previous Versions
--------------------------
**This replaces the previous versions by Ryan Bagwell and Rogerio Carrasqueira which are no longer actively updated**

Originally forked from:

- https://github.com/rgcarrasqueira/django-cms-named-menus
- https://github.com/ryanbagwell/django-cms-named-menus
- https://github.com/mcldev/djangocms-named-menus

Installation
------------

1. Install with pip ``pip install djcms-custom-menu``

2. Add ``djcms_custom_menu`` to INSTALLED_APPS

3. Run migrations ``python manage.py migrate``


Usage
-----

After installation, place the ``{% show_djcms_custom_menu 'YourMenuName' 0 100 100 100 "snippets/cms_named_menu.html" %}`` template tag where you want your menu to appear.

.. code::

  {% load djcms_custom_menu_tags %}

  <ul>
    {% show_djcms_custom_menu 'Header Menu' 0 100 100 100 "snippets/cms_named_menu.html" %}
  </ul>

Next, create your menu in the admin area using the drag and drop interface.

Drag or add button click to add items as menu items:

.. image:: ui1.png


You can also add external website links as menu item.

Add button click to add external website link as menu items:

.. image:: ui2.png


Settings
--------
The following settings can be changed by adding to your project's settings.py file:

1. Override the default cache duration for DJCMS Custom Menu, default = 0 seconds

.. code::

  DJCMS_CUSTOM_MENU_CACHE_DURATION = 3600


2. Set the application namespaces that can be used with DJCMS Custom Menus as a list, default is CMS pages only - as the page id will not be unique for other applications e.g. Aldryn NewsBlog etc. default = ['CMSMenu',]

.. code::

  DJCMS_CUSTOM_MENU_NAMESPACES = ['CMSMenu',]

or to allow all namespaces:

.. code::

  DJCMS_CUSTOM_MENU_NAMESPACES = None


N.B.: Just feel free to contact for any query and help
------------------------------------------------------

Abdullah Al Arafat | imbipul9@gmail.com | +8801712192445