semvec/pypi-packages huggingface dataset:
DiscoSnake 0.0.5
retro snake game in terminal

# DiscoSnake

DiscoSnake is a the same old game which you have played in your old mobile phones.
You can feel nostalgic by playing.


Instructions:
* Use W,A,S,D keys to move.
* Feed the snake so that it grows. 
* Avoid hitting wall in all Circumstances

If you find any bugs. Please report it.

Feel free to contribute to the project.
planefigures 0.3.0
A turtle based package that makes drawing common geometric plane shapes a breeze.

# planefigures
`planefigures` is a python package based on the [turtle library](https://docs.python.org/3.5/library/turtle.html). It takes the pain out of drawing plain shapes.

## Installation
```bash
pip install planefigures
```
Python 3 is supported.

## Example
Try out this little peace of code and be amazed.
```python
import planefigures as figures
import turtle

figures.color('red','yellow')

figures.begin_fill()

for n in range(8):
    figures.polygon(8, 80)
    turtle.right(360/8)

figures.end_fill()
```

Or better still ...
```python
python -m planefigures.example
```
and enjoy.

## Road map
At this stage, only [regular polygons](https://en.wikipedia.org/wiki/Regular_polygon) are supported. The aim however, is to support regular as well as irregular shapes.

- [x] Circle
- [ ] Scalene triangle
- [ ] Isosceles triangle
- [x] Right triangle
- [ ] Obtuse triangle
- [x] Rectangle
- [x] Parallelogram
- [ ] Trapezium
tendril-conventions-motifs 0.2.1
Tendril Motifs Infrastructure
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Keywords: tendril


.. image:: https://img.shields.io/pypi/v/tendril-conventions-motifs.svg?logo=pypi
    :target: https://pypi.org/project/tendril-conventions-motifs

.. image:: https://img.shields.io/pypi/pyversions/tendril-conventions-motifs.svg?logo=pypi
    :target: https://pypi.org/project/tendril-conventions-motifs

.. image:: https://img.shields.io/travis/tendril-framework/tendril-conventions-motifs.svg?logo=travis
    :target: https://travis-ci.org/tendril-framework/tendril-conventions-motifs

.. image:: https://img.shields.io/coveralls/github/tendril-framework/tendril-conventions-motifs.svg?logo=coveralls
    :target: https://coveralls.io/github/tendril-framework/tendril-conventions-motifs

.. image:: https://img.shields.io/codacy/grade/05dcd46b4cc547358b73de17196ddeb2?logo=codacy
    :target: https://www.codacy.com/app/chintal/tendril-conventions-motifs

.. image:: https://img.shields.io/requires/github/tendril-framework/tendril-conventions-motifs.svg
    :target: https://requires.io/github/tendril-framework/tendril-conventions-motifs/requirements

.. image:: https://img.shields.io/pypi/l/tendril-conventions-motifs.svg
    :target: https://www.gnu.org/licenses/agpl-3.0.en.html



.. inclusion-marker-do-not-remove

Introduction
------------

TODO Some brief introduction


Package Information
-------------------

The latest version of the documentation, including installation, usage, and
API/developer notes can be found at
`ReadTheDocs <https://tendril-conventions-motifs.readthedocs.io/en/latest/index.html>`_.

The latest version of the sources can be found at
`GitHub <https://github.com/tendril-framework/tendril-conventions-motifs>`_. Please use 
GitHub's features to report bugs, request features, or submit pull/merge requests.

The principle author for ``tendril-conventions-motifs`` is Chintalagiri Shashank. The 
author can be contacted if necessary via the information on the
`author's github profile <https://github.com/chintal>`_ . See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.

``tendril-conventions-motifs`` is distributed under the terms of the
`AGPLv3 license <https://www.gnu.org/licenses/agpl-3.0.en.html>`_ .
A copy of the text of the license is included along with the sources.
tendril-conventions-series 0.2.0
Tendril Series Conventions
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Keywords: tendril


.. image:: https://img.shields.io/pypi/v/tendril-conventions-series.svg?logo=pypi
    :target: https://pypi.org/project/tendril-conventions-series

.. image:: https://img.shields.io/pypi/pyversions/tendril-conventions-series.svg?logo=pypi
    :target: https://pypi.org/project/tendril-conventions-series

.. image:: https://img.shields.io/travis/tendril-framework/tendril-conventions-series.svg?logo=travis
    :target: https://travis-ci.org/tendril-framework/tendril-conventions-series

.. image:: https://img.shields.io/coveralls/github/tendril-framework/tendril-conventions-series.svg?logo=coveralls
    :target: https://coveralls.io/github/tendril-framework/tendril-conventions-series

.. image:: https://img.shields.io/codacy/grade/305cba3275b74e2d988e978525955b4a?logo=codacy
    :target: https://www.codacy.com/app/chintal/tendril-conventions-series

.. image:: https://img.shields.io/requires/github/tendril-framework/tendril-conventions-series.svg
    :target: https://requires.io/github/tendril-framework/tendril-conventions-series/requirements

.. image:: https://img.shields.io/pypi/l/tendril-conventions-series.svg
    :target: https://www.gnu.org/licenses/agpl-3.0.en.html



.. inclusion-marker-do-not-remove

Introduction
------------

TODO Some brief introduction


Package Information
-------------------

The latest version of the documentation, including installation, usage, and
API/developer notes can be found at
`ReadTheDocs <https://tendril-conventions-series.readthedocs.io/en/latest/index.html>`_.

The latest version of the sources can be found at
`GitHub <https://github.com/tendril-framework/tendril-conventions-series>`_. Please use 
GitHub's features to report bugs, request features, or submit pull/merge requests.

The principle author for ``tendril-conventions-series`` is Chintalagiri Shashank. The 
author can be contacted if necessary via the information on the
`author's github profile <https://github.com/chintal>`_ . See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.

``tendril-conventions-series`` is distributed under the terms of the
`AGPLv3 license <https://www.gnu.org/licenses/agpl-3.0.en.html>`_ .
A copy of the text of the license is included along with the sources.
tendril-conventions-electronics 0.2.0
Tendril Electronics Conventions
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Keywords: tendril


.. image:: https://img.shields.io/pypi/v/tendril-conventions-electronics.svg?logo=pypi
    :target: https://pypi.org/project/tendril-conventions-electronics

.. image:: https://img.shields.io/pypi/pyversions/tendril-conventions-electronics.svg?logo=pypi
    :target: https://pypi.org/project/tendril-conventions-electronics

.. image:: https://img.shields.io/travis/tendril-framework/tendril-conventions-electronics.svg?logo=travis
    :target: https://travis-ci.org/tendril-framework/tendril-conventions-electronics

.. image:: https://img.shields.io/coveralls/github/tendril-framework/tendril-conventions-electronics.svg?logo=coveralls
    :target: https://coveralls.io/github/tendril-framework/tendril-conventions-electronics

.. image:: https://img.shields.io/codacy/grade/f99a792cbcf741d895e94e2e5a59d79e?logo=codacy
    :target: https://www.codacy.com/app/chintal/tendril-conventions-electronics

.. image:: https://img.shields.io/requires/github/tendril-framework/tendril-conventions-electronics.svg
    :target: https://requires.io/github/tendril-framework/tendril-conventions-electronics/requirements

.. image:: https://img.shields.io/pypi/l/tendril-conventions-electronics.svg
    :target: https://www.gnu.org/licenses/agpl-3.0.en.html



.. inclusion-marker-do-not-remove

Introduction
------------

TODO Some brief introduction


Package Information
-------------------

The latest version of the documentation, including installation, usage, and
API/developer notes can be found at
`ReadTheDocs <https://tendril-conventions-electronics.readthedocs.io/en/latest/index.html>`_.

The latest version of the sources can be found at
`GitHub <https://github.com/tendril-framework/tendril-conventions-electronics>`_. Please use 
GitHub's features to report bugs, request features, or submit pull/merge requests.

The principle author for ``tendril-conventions-electronics`` is Chintalagiri Shashank. The 
author can be contacted if necessary via the information on the
`author's github profile <https://github.com/chintal>`_ . See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.

``tendril-conventions-electronics`` is distributed under the terms of the
`AGPLv3 license <https://www.gnu.org/licenses/agpl-3.0.en.html>`_ .
A copy of the text of the license is included along with the sources.
tendril-conventions-status 0.2.0
Tendril Status Conventions
Requires Python: >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*
Keywords: tendril


.. image:: https://img.shields.io/pypi/v/tendril-conventions-status.svg?logo=pypi
    :target: https://pypi.org/project/tendril-conventions-status

.. image:: https://img.shields.io/pypi/pyversions/tendril-conventions-status.svg?logo=pypi
    :target: https://pypi.org/project/tendril-conventions-status

.. image:: https://img.shields.io/travis/tendril-framework/tendril-conventions-status.svg?logo=travis
    :target: https://travis-ci.org/tendril-framework/tendril-conventions-status

.. image:: https://img.shields.io/coveralls/github/tendril-framework/tendril-conventions-status.svg?logo=coveralls
    :target: https://coveralls.io/github/tendril-framework/tendril-conventions-status

.. image:: https://img.shields.io/codacy/grade/3360b0965f504e1f8c33cde4ef948304?logo=codacy
    :target: https://www.codacy.com/app/chintal/tendril-conventions-status

.. image:: https://img.shields.io/requires/github/tendril-framework/tendril-conventions-status.svg
    :target: https://requires.io/github/tendril-framework/tendril-conventions-status/requirements

.. image:: https://img.shields.io/pypi/l/tendril-conventions-status.svg
    :target: https://www.gnu.org/licenses/agpl-3.0.en.html



.. inclusion-marker-do-not-remove

Introduction
------------

TODO Some brief introduction


Package Information
-------------------

The latest version of the documentation, including installation, usage, and
API/developer notes can be found at
`ReadTheDocs <https://tendril-conventions-status.readthedocs.io/en/latest/index.html>`_.

The latest version of the sources can be found at
`GitHub <https://github.com/tendril-framework/tendril-conventions-status>`_. Please use 
GitHub's features to report bugs, request features, or submit pull/merge requests.

The principle author for ``tendril-conventions-status`` is Chintalagiri Shashank. The 
author can be contacted if necessary via the information on the
`author's github profile <https://github.com/chintal>`_ . See the AUTHORS file
for a full list of collaborators and/or contributing authors, if any.

``tendril-conventions-status`` is distributed under the terms of the
`AGPLv3 license <https://www.gnu.org/licenses/agpl-3.0.en.html>`_ .
A copy of the text of the license is included along with the sources.
pexpect-serial 0.1.0
pexpect with pyserial

Introduction
------------

This is like pexpect, but it will work with serial port that you
pass it. You are reponsible for opening and close the serial port.
This allows you to use Pexpect with Serial port which pyserial supports.

Usage
-----

```python
import serial
from pexpect_serial import SerialSpawn

with serial.Serial('COM1', 115200, timeout=0) as ser:
    ss = SerialSpawn(ser)
    ss.sendline('start')
    ss.expect('done')
```

License
-------
MIT
cranc 1.0.1
command line interface tool for Pagure pull requests

Cranc
=====

Cranc is command line interface tool to interact with Pagure

homepage: https://pagure.io/cranc

What Cranc does
~~~~~~~~~~~~~~~

At the moment cranc lists pull requests and issues of a project. With
this commands:

``cranc get prs``

-  ``[author]`` optional

-  ``[status]`` optional

-  ``[assignee]`` optional

``cranc get issues``

-  ``[author]`` optional

-  ``[status]`` optional

-  ``[assignee]`` optional

``cranc merge pr [request_id]``

``cranc create pr [title] [repo] [brach_from] [branch_to]``

-  ``[initial_comment]`` is optional

About its name
~~~~~~~~~~~~~~

Since Pagure is a hermit crab, cranc is crab in catalan.

Run
~~~

Create the virtual environment:

``virtualenv3 ~/venvs/cranc-env``

``source ~/venvs/cranc-env/bin/activate``

Retrieve the sources:

``git clone https://pagure.io/cranc.git``

``cd cranc``

Install dependencies:

``pip install -r requirements.txt``

Run the setup file. This creates a link in the venv directory pointing
to the cranc directory:

``python setup.py install``

Run the app:

``cranc``

::

   Usage: cranc [OPTIONS] COMMAND [ARGS]...

   Options:
     -a, --api-key API-KEY    your API key for Pagure.io
     -r, --repo-url TEXT      Repo url
     -i, --instance-url TEXT  Pagure instance url
     -c, --config-file PATH
     --help                   Show this message and exit.

   Commands:
     config
     create
     get
     merge

``cranc``

Or run the command:

``cranc get prs``

``cranc merge pr --request_id [request_id]``

When API TOKEN is needed, cranc will prompt you to insert it. It will ve
stored in a ``.config`` file. Cranc will also try to guess the repo url
and instance url, and prompt you to confirm/change.

Test
~~~~

To run tests type:

``pytest``

Or to run only 1 test type:

``pytest tests/[name_of_the_test]``
retrievepankey 0.1.11
Shortcut functions for coding and working with PAN devices.

# Shortcut functions for coding and working with PAN devices   

### Retrieve PAN API key from file in user home directory

  Get API key from .panconfkeystore file in user home directory.  Input file format has one entry per line.  

    <apikey>:<ip>

  Code example

    import retrievepankey
    apikey = retrievepankey.read_key_file("192.168.1.1")    

### Retrieve device info from file in user home directory

  Use shortcut name in scripts to retrieve info about device.

  Will return device 'ip' field by default

  Input file format for 'fetch_deviceinfo_file()' is below.  The function reads in a YAML format from .pandevice file, in user home directory, by default.  All sub fields (serial, ip, type, etc) can be customized and returned.  If there is no match, the input string to the function is returned.      

    DEMOFW1:
      serial: 09870100089
      ip: 192.168.50.100
      type: panos
      panorama: 192.168.100.100
      panorama2: 192.168.100.101
      hapair: 192.168.50.101
    DEMOFW2:
      serial: 098001000597
      ip: 192.168.50.101
      type: panos
      panorama: 192.168.100.100
      panorama2: 192.168.100.101
      hapair: 192.168.50.101

  Code example

    import retrievepankey

    firewallip = retrievepankey.fetch_deviceinfo_file("DEMO-FW")
    panoip = retrievepankey.fetch_deviceinfo_file("DEMO-FW", field='panorama')