semvec/pypi-packages huggingface dataset:
ukpostcodevalidator 0.1.4
validates uk postal code
License: MIT

`Documentation <http://ukpostcodevalidator.readthedocs.io/en/latest/>`_

Installation
------------
You can install `ukpostcodevalidator` using pip: 

    pip install ukpostcodevalidator


Usage
-----
To validate the postal code for UK just invole the validate method on the Uk class as show below:
 
    >>> from ukpostcodevalidator import validator
    >>> validator.Uk.validate("AA9A 9AA")
generates 0.1.0
Micro library providing generates decorator
License: MIT
Keywords: generates,context manager,generator

Generates
=========

Generates is a micro library providing ``generates`` decorator.

The ``generates`` decorator can be used to easily create a function that
returns a container like list or dict, but using generator syntax in the
function body.  For example::

  @generates(list)
  def get_numbers(n):
      for i in range(n):
          yield i

  assert get_numbers(5) == [0, 1, 2, 3, 4]

  @generates(dict)
  def get_map():
      yield ('key1', 'value1')
      yield ('key2', 'value2')

  assert get_map() == {'key1': 'value1', 'key2': 'value2'}
djangocms-concurrent-users 0.0.2
Django-CMS Plugin for blocking pages which are edited by another user
License: MIT

djangocms-concurrent-users  
==========================  

A Django-CMS plugin for blocking pages which are edited by another user.
This provides a simple mechanism to prevent two users working on the same page. Due to the
fact, that only the version of the last user hitting the save button is stored, data loss is very likely.

This plugin adds a hidden toolbar item in order to provide the required code to the client. Once the browser
enters a page, it checks for another user and gets blocked in case the page has been locked. If the page is
not edited at this moment, the client acquires a lock and hence blocks it for other users for the time of working.
The check if performed by polling the server with an specified interval. Once the client lefts the page, the lock 
is released and the next user will be able to make changes.



Features
========

* blocks a page with an overlay in case another user is already working on it
* reloads the page once it is released, in order to fetch the latest changes
* displays the username and time of the blocking user


Installation
============

To get started using ``djangocms-concurrent-users``:

- install it with ``pip``::

    $ pip install djangocms-concurrent-users


- add the plugins to ``INSTALLED_APPS``::

    INSTALLED_APPS = (
        ...
        'djangocms-concurrent-users',
        ...
    )


- run ``migrate``.

- add ``url(r'', include('djangocms_concurrent_users.urls', namespace='concurrent_users'), ),`` to your urls


Configuration
=============

 * ``CONCURRENT_BLOCKING_OFFSET``: Time to wait until the page is release just after the user left; is ``20`` by default; Must not be shorter than ``CONCURRENT_POLLING_INTERVAL``
 * ``CONCURRENT_POLLING_INTERVAL``: Interval for the clients to poll the server; is ``20`` by default; Must not be greater than ``CONCURRENT_BLOCKING_OFFSET``
 * ``CONCURRENT_BLOCK_EDITING``: Specifies if the blocking actually happens; is ``True`` by default;
compose_plantuml 0.1.2
converts docker-compose into plantuml
License: MIT
Keywords: docker-compose plantuml docker yml

|Build Status| |image1| |PyPi downloads| |PyPi version| |Docker pulls|

compose\_plantuml
=================

Generate Plantuml graphs from docker-compose files

Note that version 2 as well as the legacy version is supported.

Usage
-----

Via Python
~~~~~~~~~~

Install it via: ``pip3 install compose_plantuml``

After that use it like:
``compose_plantuml --link-graph docker-compose.yml``

Via Docker
~~~~~~~~~~

Use it like:
``cat docker-compose.yml | docker run -i funkwerk/compose_plantuml --link-graph``

For SVG Output, just call:

``cat docker-compose.yml | docker run -i funkwerk/compose_plantuml --link-graph | docker run -i think/plantuml > output.svg``

For PNG Output, just call:

``cat docker-compose.yml | docker run -i funkwerk/compose_plantuml --link-graph | docker run -i think/plantuml -tpng > output.png``

Link Graph
----------

Link Graphs provide an overview over docker-compose services.

Consider the following docker-compose.yml

::

    version: '2'
    services:
      first:
        links:
          - second
      second: {}

When calling 'compose\_plantuml docker-compose.yml' it will generate the
following link graph:

::

    [first]
    [second]
    [first] --> [second]

Rendered it looks like:

Boundaries
----------

Boundaries visualize the external boundaries a system has.

Consider the following docker-compose.yml

::

    version: '2'
    services:
      service:
        ports:
          - 8080:80

When calling 'compose\_plantuml --boundaries docker-compose.yml' it will
generate the following plantuml:

::

    rectangle system {
      [service]
    }
    [service] --> 8080 : 80

Rendered it looks like:

Related Links
-------------

-  draw compose
-  https://github.com/Alexis-benoist/draw-compose
-  generates dot graphs from docker-compose files
-  currently just supports docker-compose version 1
-  does not read from stdin, so is not easy useable as docker container

.. |Build Status| image:: https://travis-ci.org/funkwerk/compose_plantuml.svg
   :target: https://travis-ci.org/funkwerk/compose_plantuml
.. |image1| image:: https://badge.imagelayers.io/funkwerk/compose_plantuml.svg
   :target: https://imagelayers.io/?images=funkwerk/compose_plantuml:latest
.. |PyPi downloads| image:: https://img.shields.io/pypi/dm/compose_plantuml.svg
   :target: https://pypi.python.org/pypi/compose_plantuml/
.. |PyPi version| image:: https://img.shields.io/pypi/v/compose_plantuml.svg
   :target: https://pypi.python.org/pypi/compose_plantuml/
.. |Docker pulls| image:: https://img.shields.io/docker/pulls/funkwerk/compose_plantuml.svg
   :target: https://hub.docker.com/r/funkwerk/compose_plantuml/