semvec/pypi-packages huggingface dataset:
pihdf 0.1.3
Hardware Design Framework based on python and MyHDL
License: MIT
Keywords: myhdl pihdf fpga

pihdf: Python Hardware Design Framework based on MyHDL
======================================================

.. image:: https://travis-ci.org/hnikolov/pihdf.svg?branch=master
  :target: https://travis-ci.org/hnikolov/pihdf

A very preliminary documentation (work-in-progress) is available at: http://hnikolov.github.io/pihdf_doc/


Install ``pihdf`` using pip
---------------------------

You can install the latest release of ``pihdf`` from pypi: ::

	$ sudo pip install pihdf

**Note:** If you do not have ``pip`` installed: ::

	$ sudo apt-get install python-pip python-dev build-essential 
	$ sudo pip install --upgrade pip 


Install ``pihdf`` from source
---------------------------

If you plan to contribute to ``pihdf``, then install it from source: ::

	$ git clone https://github.com/hnikolov/pihdf
	$ cd pihdf
	$ sudo python setup.py develop

Option *develop* installs ``pyhdf`` in *editable* mode. 
This is very convenient because your changes are immediately reflected into the installed ``pihdf`` package.
This means that you do not need to re-install ``pihdf`` in order your changes to take effect.


Dependences on Python packages
------------------------------

``pihdf`` requires the following python packages: **myhdl, myhdl_lib, simplejson, coverage, nose**. 
These packages will be installed during the installation of ``pihdf`` if not present on your system. 

**Note:** These packages will **not** be un-installed if you un-install ``pyhdf``. 


Co-simulation, waveform and dotty viewers
-----------------------------------------

For co-simulations, ``pihdf`` uses the **Icarus iverilog** simulator. **GTKWave** is the waveform viewer used in ``pihdf``. For structured designs, ``pihdf`` generates also the design topology (i.e., HW modules interconnections) as a ``.dot`` file. To viasualize it, you can use the ``xdot`` program. Install all programs by executing: ::

    $ sudo apt-get install iverilog gtkwave xdot


Create ``myhdl.vpi``
------------------

For co-simuations, myhdl uses a ``.vpi`` interface. To create the ``myhdl.vpi`` file used with **Icarus**, you need the source of ``myhdl``: ::

	$ git clone https://github.com/jandecaluwe/myhdl
	$ make -C myhdl/cosimulation/icarus
	$ sudo mkdir /.pihdf
	$ sudo cp myhdl/cosimulation/icarus/myhdl.vpi /.pihdf

**Note:** ``pihdf`` expects file ``myhdl.vpi`` to be in folder ``/.pihdf``


Un-install
----------

Un-installing ``pihdf`` (should you decide to do so) is easy. Depending on how you installed it, you can:

Un-install ``pihdf`` using ``pip``: ::

	$ sudo pip uninstall pihdf


Or, un-install ``pihdf`` if installed from source: ::

	$ cd pihdf
	$ sudo python setup.py develop --uninstall


To remove the command-line tool ``module`` from its location: ::

	$ which module | xargs sudo rm


Note
----

The command-line tool ``module`` makes use of the very convenient package ``docopt`` (https://github.com/docopt/docopt), which is copied in the ``pihdf`` repository.
django-numericfieldlistfilter 0.1
A NumericFieldListFilter for Django admin
License: MIT
Keywords: django plugin fieldlistfilter

# Django-NumericFieldListFilter

Django-NumericFieldListFilter is a plugin for Django. It allows easy filtering of numeric fields (IntegerField, FloatField and DecimalField) inside the Django admin.

For each numeric field, two inputs will be added to the admin, representing a minimum and maximum value which you can filter on.

![Screenshot of NumericFieldListFilter](http://i.imgur.com/y6U9uCI.png)

### Installation

```sh
$ pip install django-numericfieldlistfilter
```

You'll need Django version 1.8 or greater.

### Usage
1. Add `djangonumericfieldlistfilter` to the installed apps:

    ```python
    INSTALLED_APPS = (
    ...
    'djangonumericfieldlistfilter',
    ...
    )
    ```
2. Use the `NumericModelAdmin` as the base class of your admin classes:
    ```python
    from djangonumericfieldlistfilter.options import NumericModelAdmin

    class TransactionAdmin(NumericModelAdmin):
        ...
    ```
3. Add your numeric field to the list_filter variable:
    ```python
    list_filter = (
        ...
        'price_paid'
        ...
    )
    ```

### Version
0.1

License
-------
MIT
scrapyd-mongodb 0.1.0
Scrapyd Queue Management with MongoDB
License: MIT
Keywords: scrapy, scrapyd, mongodb, queue, scrapyd-queue, scrapyd-backend, backend

Scrapyd-mongodb
===============

The scrapyd library is a fantastic open-source tool for management of
spiders implemented using scrapy-framework. However, the builtin backend
queue management library is implemented to work with SQLite, which ends
up being a problem when we need to scale.

This library is designed to replace the SQLite backend for MongoDB
backend. In other words, all queue management will be done using MongoDB
with the help of pymongo library.
utvsapitoken 0.0.2
OAuth2 token validation for UTVS API
License: MIT
Keywords: oauth2

utvsapitoken
============

A little Python class that allows to check a token against `ČVUT OAAS <https://rozvoj.fit.cvut.cz/Main/oauth2>`_ and get s personal number form `Usermap API <https://rozvoj.fit.cvut.cz/Main/usermap-api>`_. Used in ÚTVS API.

Usage
-----

.. code-block:: python

   from utvsapitoken import TokenClient
   client = TokenClient()
   info = client.token_to_info('token')

You can provide custom URIs for the constructor:

.. code-block:: python

   client = TokenClient(check_token_uri='http://localhost:8080/token',
                        usermap_uri='http://localhost:8080/user'))

This comes with a fake OAAS that can be used for various testing, including the tests of this very project.
To start the fake server, just run:

.. code-block:: python

   from utvsapitoken import fakeserver
   fakeserver.serve_forever(port=8080)

In order to run the testsuite, no need to start the server, just run::

   PYTHONPATH=. py.test-3 -v --port 8080

You can omit the port argument to use the default (8080).

This requires Python 3 and ``requests``.

License
-------

This software is licensed under the terms of the MIT license, see LICENSE for full text and copyright information.