semvec/pypi-packages huggingface dataset:
blasy 0.1.2
Plugin functionality
License: MIT
Keywords: plugin

A(n almost) transparent replacement for yapsy made for python 3.4+.

I kept having issues with Yapsy so here we are. No complaints with the
authors of Yapsy though, they never got to hear my anguish because I was
on a tight schedule to finish a project. Perhaps I just didn't get how it was supposed to work. You might have better luck.

In any case this is a quick and very basic implementation of a plugin framework. Documentation may follow (check Yapsy documentation for now) or I may dig deeper into Yapsy to solve the issues I had if they are compatible with how I would like the plugin framework to act.

Since I already had the logic in place for the existing Yapsy methods I have used identical names, including their intended functionality. This is done even if unnecessary or overkill in this basic package. Thus it should be easy to go back to Yapsy if that makes sense at a later point.

Note: Alpha for now - YMMV.

To install: ``pip install blasy``
colorlookup 0.2.3
Find color values for standard W3C colors.
License: MIT
Keywords: graphics w3c web standard colors hex rgb hsv hsl

This package provides an API for looking up hex, rgb, hsv, or hsl values of
W3C-recognized colors. The Color class, when initialized with a valid
identifier, will have as its attributes components of the various color model
representations.

Example:
    To retrieve the numeric representations of the color brown as defined by
    the W3C::

        >>> from colorlookup import Color
        >>>
        >>> brown = Color('brown')
        >>>
        >>> print(brown)
        Color: Brown
        hex: #a52a2a
        rgb: (165, 42, 42)
        >>>
        >>> brown.hex
        '#a52a2a'
        >>> brown.rgb
        (165, 42, 42)
        >>> brown.r
        165
        >>> brown.g
        42
        >>> brown.b
        42
        >>> brown.rgb_f
        (0.65, 0.16, 0.16)
        >>> brown.r_f
        0.65
        >>> brown.g_f
        0.16
        >>> brown.b_f
        0.6
        >>> brown.hsl_sat
        0.59
        >>> brown.hsl_light
        0.41
        >>> brown.hsv_sat
        0.75
        >>> brown.hsv_val
        0.65
secretary 0.2.19
Take the power of Jinja2 templates to OpenOffice or LibreOffice.
License: MIT


============
Secretary
============
Take the power of Jinja2 templates to OpenOffice or LibreOffice and create reports and letters in your web applications.

See full `documentation on Github <https://github.com/christopher-ramirez/secretary/blob/master/README.md>`_
.
parsely 0.7.0
Parsely is a framework for enqueuing messages via HTTP request for Celery.
License: MIT
Keywords: celery

=======
Parsely
=======

.. image:: https://travis-ci.org/narusemotoki/parsely.svg?branch=master
    :target: https://travis-ci.org/narusemotoki/parsely

Parsely is a framework for enqueuing messages via HTTP request for celery.

`CHANGELOG <https://github.com/narusemotoki/parsely/blob/master/CHANGELOG.rst>`_

Example
=======

tasks.py:
---------

.. code-block:: python

   from typing import Dict

   import parsely


   app = parsely.Parsely('example', 'redis://localhost:6379/0')


   def two_times(text: str) -> Dict[str, str]:
       return {
           'text': text * 2
       }
   
   
   @app.task(two_times)
   def echo(text: str) -> None:
       print(text)


   worker = p.celery
   producer = p.make_producer()


:code:`two_times` works as pre processor. It works before enqueing. It means it can return BadRequest to your client. Parsely validate message with typehint. Also you can have extra validation and any other process here.

You can run `tasks.py` as Celery worker: :code:`celery -A tasks worker --loglevel=info`

Also it runs as WSGI application. This is an example run it with uWSGI :code:`uwsgi --http :8080 --wsgi-file tasks.py --callable producer --enable-threads --thunder-lock --master`

Send Test Message!
------------------

:code:`curl -X POST -d '{"message":{"text": "Hello"}}' http://localhost:8080/example/echo`

1. `producer` receives your request
2. `producer` validates your message having `text` and the type is `str` or not. `text`(str)`  is from typehint of :code:`two_times`
3. `producer` validates `two_times` returned value having `text` and the type is `str` or not. `text`(str)`  is from typehint of :code:`echo`
4. `producer` put message :code:`{"message":{"text":"HelloHello"}}` into queue.
5. `curl` receives response.
6. `Celery` calls :code:`echo`


Extra
=====

Preprocessor
------------

preprocessor is optional. if you don't need it, you can:

.. code-block:: python

   @app.task()
   def echo(text: str) -> None:
       print(text)

Also you can give multiple preprocessor:

.. code-block:: python

   @app.task(two_times, two_times)
   def echo(text: str) -> None:
       print(text)


logging
-------

Parsely uses logger witch named "parsely", so you can set log level like:

.. code-block:: python

   import logging


   parsely_logger = logging.getLogger('parsely')
   parsely_logger.setLevel(logging.DEBUG)
minibolt 0.4.0
Simple Neo4j driver
License: MIT
Keywords: Neo4j

===========
minibolt
===========

A simple Neo4j database driver.

Requirement
------------

CPython 3.5+ https://www.python.org or MicroPython https://micropython.org

Install
------------

::

   # pip install minibolt


Sample Code
------------

::

   >>> import minibolt
   >>> conn = minibolt.connect('servername', 'username', 'password')
   >>> rs = conn.run('MATCH (tom:Person {name: "Tom Hanks"})-[:ACTED_IN]->(movie) return movie.title')
   >>> rs.fields
   ['movie.title']
   >>> for r in rs:
   ...     print(r[0])
   ...
   Charlie Wilson's War
   The Polar Express
   A League of Their Own
   Cast Away
   Apollo 13
   The Green Mile
   The Da Vinci Code
   Cloud Atlas
   That Thing You Do
   Joe Versus the Volcano
   Sleepless in Seattle
   You've Got Mail
   >>>

NetworkX integration

See https://gist.github.com/nakagami/a9c050ae76dc5a40eaeb67e6326b774e