semvec/pypi-packages huggingface dataset:
poly_decomp 0.0.1
Decompose 2D polygons into convex pieces.
License: MIT

poly_decomp.py: Decompose 2D polygons into convex pieces
========================================================

.. image:: https://img.shields.io/pypi/v/poly_decomp.svg
    :target: https://pypi.python.org/pypi/poly_decomp

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

.. code-block:: bash

    $ pip install poly_decomp

Usage
------------

.. code-block:: python

    import poly_decomp as pd
    
    polygon = [[0, 0], [5, 0], [5, 5], [2.5, 2.5], [0, 5]]
    #           |\    /| 
    #           | \  / |
    #           |  \/  |
    #           |      |
    #           |------|

    print pd.polygonDecomp(polygon)
    # --> [[[0, 0], [2.5, 2.5], [0, 5]], [[0, 0], [5, 0], [5, 5], [2.5, 2.5]]]
    #           |\   /| 
    #           | \ / |
    #           |  /  |
    #           | /   |
    #           |/----|

    print pd.polygonQuickDecomp(polygon)
    # --> [[[5, 0], [5, 5], [2.5, 2.5]], [[2.5, 2.5], [0, 5], [0, 0], [5, 0]]]
    #           |\   /| 
    #           | \ / |
    #           |  \  |
    #           |   \ |
    #           |----\|

About
-----------------

Implementation based on `Schteppe's <http://steffe.se>`_ `poly-decomp.js <https://github.com/schteppe/poly-decomp.js>`_.

Algorithms based on `Mark Bayazit's <http://mpen.ca>`_ `Poly Decomp <https://mpen.ca/406/bayazit>`_.


.. :changelog:

Release History
---------------

dev
+++

0.0.1 (2016-10-25)
+++++++++++++++++++

- Initial release.
fcgiproto 1.0.2
FastCGI state-machine based protocol implementation
License: MIT
Keywords: fastcgi http

.. image:: https://travis-ci.org/agronholm/fcgiproto.svg?branch=master
  :target: https://travis-ci.org/agronholm/fcgiproto
  :alt: Build Status
.. image:: https://coveralls.io/repos/github/agronholm/fcgiproto/badge.svg?branch=master
  :target: https://coveralls.io/github/agronholm/fcgiproto?branch=master
  :alt: Code Coverage

The FastCGI_ protocol is a protocol commonly used to relay HTTP requests and responses between a
front-end web server (nginx, Apache, etc.) and a back-end web application.

This library implements this protocol for the web application end as a pure state-machine which
only takes in bytes and returns a list of parsed events. This leaves users free to use any I/O
approach they see fit (asyncio_, curio_, Twisted_, etc.). Sample code is provided for implementing
a FastCGI server using a variety of I/O frameworks.

.. _FastCGI: https://htmlpreview.github.io/?https://github.com/FastCGI-Archives/FastCGI.com/blob/master/docs/FastCGI%20Specification.html
.. _asyncio: https://docs.python.org/3/library/asyncio.html
.. _curio: https://github.com/dabeaz/curio
.. _Twisted: https://twistedmatrix.com/

Project links
-------------

* `Documentation <http://fcgiproto.readthedocs.org/en/latest/>`_
* `Source code <https://github.com/agronholm/fcgiproto>`_
* `Issue tracker <https://github.com/agronholm/fcgiproto/issues>`_
pyramid_bpython_curses 0.1.3
bpython bindings for Pyramid pshell in a curses variant
License: MIT

pyramid_bpython_curses
======================

`bpython <http://bpython-interpreter.org/>`_ bindings for
`Pyramid <http://docs.pylonsproject.org/en/latest/docs/pyramid.html>`_ in a curses variant (for **Windows**).

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

* Install `curses for windows <http://www.lfd.uci.edu/~gohlke/pythonlibs/#curses>`_

::

  $ pip install pyramid_bpython_curses

Usage
-----

Ensure the shell is available::

  $ pshell --list-shells
  Available shells:
    bpython_curses
    python

The shell should be auto-selected when running ``pshell``::

  $ pshell development.ini

However, if there are multiple shells you can also be explicit::

  $ pshell -p bpython_curses development.ini
jicparameters 0.1.0
Python package making it easier to work with lots of parameters
License: MIT
Keywords: parameter,setting

The ``jicparameters`` Python package
=======================================

.. image:: https://travis-ci.org/JIC-CSB/jicparameters.svg?branch=master
   :target: https://travis-ci.org/JIC-CSB/jicparameters
   :alt: Travis CI build status (Linux)

.. image:: https://ci.appveyor.com/api/projects/status/7llm3pjuk3ncr7sv?svg=true
   :target: https://ci.appveyor.com/project/tjelvar-olsson/jicparameters
   :alt: AppVeyor CI build status (Windows)


.. image:: http://codecov.io/github/JIC-CSB/jicparameters/coverage.svg?branch=master
   :target: http://codecov.io/github/JIC-CSB/jicparameters?branch=master
   :alt: Code Coverage

.. image:: https://readthedocs.org/projects/jicparameters/badge/?version=latest
   :target: https://readthedocs.org/projects/jicparameters?badge=latest
   :alt: Documentation Status


Python package making it easier to work with lots of parameters.

- Documentation: http://jicparameters.readthedocs.io/en/latest/
- GitHub: https://github.com/JIC-CSB/jicparameters
- Free software: MIT License

Features
--------

- Lightweight: only depends on PyYAML
- Cross-platform: Linux, Mac and Windows are all supported
- Tested with Python 2.7, 3.3, 3.4, and 3.5


Quick Guide
-----------

To install ``jicparameters``::

    git clone https://github.com/JIC-CSB/jicparameters.git
    cd jicparameters
    python setup.py install

Create some parameters::

    >>> from jicparameters import Parameters
    >>> params = Parameters(pi=3.14, radius=10)
    >>> params
    {'pi': 3.14, 'radius': 10}

Add another parameter::

    >>> params["fudge_factor"] = 42
    >>> params
    {'fudge_factor': 42, 'pi': 3.14, 'radius': 10}

View as YAML::

    >>> print(params.to_yaml())
    ---
    fudge_factor: 42
    pi: 3.14
    radius: 10
    <BLANKLINE>

Save to file::

    >>> params.to_file("params.yml")

Read from file::

    >>> p2 = Parameters.from_file("params.yml")
    >>> assert params == p2


History
-------

0.1.0
^^^^^

- Initial upload to PyPi