semvec/pypi-packages huggingface dataset:
python-gearbox 0.1.2.a.dev
Python library for gear transmission design
License: MIT
Keywords: gearbox,gear,agma,iso,gear transmission,engineering

python-gearbox
==============
Python library for design of spur and helical gears transmissions

Install
-------
the project is on *pypi* server for installation use:

    pip install python-gearbox

for manual installation download the last release from:

https://pypi.python.org/pypi/python-gearbox

    python setup.py install

make shure you have installed all dependencies "jinja2, numpy and scipy"

Features
--------
    - Gear stresses calculation using AGMA-2101 D04 and ISO-6336 standards
    - Export 2D and 3D one tooth geometrical models, to *MATLAB/COMSOL* for spur and helical gears
    - Export 2D and 3D one tooth geometrical models, to *ABAQUS-CAE* only for spur gears
    - Export 2D and 3D one tooth geometrical models, to *ANSYS* only for spur gears

Next Releases
-------------
    - Add the export capabilities for helical gears in ANSYS and ABAQUS-CAE softwares
    - Optimization of the profile shift modification

Help and Documentation
----------------------
The documentation isn't ready yet, see the demo.py file for uses example

Contribute
----------
if you want to contribute with the project contact with the author by e-mail
e-mail: efirvida@gmail.com
pg13 0.1.1
sql evaluator for mocking
License: MIT
Keywords: sql,mocking,orm,database,testing

============
pg13
============

.. image:: https://travis-ci.org/abe-winter/pg13-py.svg?branch=master

**install** with `pip install pg13`

**docs** at http://pg13.readthedocs.org/en/latest/

pg13 is a SQL evaluator for python designed for testing. Normally when you want to test an application with database dependencies, you have three dangerous options:

1. **artisanal mocking**: standard mocking frameworks make you specify the output of every DB call
2. **local db**: have a running copy of the database
3. **everything but**: test everything but the DB interaction

pg13 takes a different approach:

* SQL is simulated in python
* every test can create and populate its own lightweight database
* tests are completely deterministic
* parallelization is safe (because parallel tests have no chance of touching the same data)
* performance: 200+ tests per second on my laptop

See the github readme for examples. https://github.com/abe-winter/pg13-py
python-jumprunpro 0.0.2
Simple python bindings for scraping data from JumpRun Pro
License: MIT
Keywords: skydiving manifest

.. image:: https://travis-ci.org/natemara/jumprunpro-python.svg?branch=master
    :target: https://travis-ci.org/natemara/jumprunpro-python

python-jumprunpro
=================

Python API bindings for the Jumprun Pro skydiving manifest software
htpasswd 2.3
Library to work with htpasswd user (basic authorization) and group files.
License: MIT

# htpasswd [![Build Status](https://secure.travis-ci.org/thesharp/htpasswd.png)](http://travis-ci.org/thesharp/htpasswd)

## Description
**htpasswd** is a library for working with htpasswd user (only basic authorization) and group files. It supports CRYPT and MD5 encryption methods. To actually use MD5 encryption method you *MUST* have an ``openssl`` binary installed into system ``$PATH``.

## Dependencies
- Python 2.7 or 3.3 or 3.4
- [orderedmultidict](http://pypi.python.org/pypi/orderedmultidict/0.7) >= 0.7
- [future](https://pypi.python.org/pypi/future)
- [nose](http://pypi.python.org/pypi/nose/) >= 1.1.2 (for tests)

## Sample usage
    import htpasswd

    with htpasswd.Basic("/path/to/user.db") as userdb:
        try:
            userdb.add("bob", "password")
        except htpasswd.basic.UserExists, e:
            print e
        try:
            userdb.change_password("alice", "newpassword")
        except htpasswd.basic.UserNotExists, e:
            print e

    with htpasswd.Group("/path/to/group.db") as groupdb:
        try:
            groupdb.add_user("bob", "admins")
        except htpasswd.group.UserAlreadyInAGroup, e:
            print e
        try:
            groupdb.delete_user("alice", "managers")
        except htpasswd.group.UserNotInAGroup, e:
            print e

To use MD5 encryotion, add ``mode="md5"`` to the constructor:

    with htpasswd.Basic("/path/to/user.db", mode="md5") as userdb

## Provided methods

### Basic
- ``__contains__(user)``
- ``users``
- ``add(user, password)``
- ``pop(user)``
- ``change_password(user, password)``
- ``_encrypt_password(password)``

### Group
- ``__contains__(group)``
- ``groups``
- ``is_user_in(user, group)``
- ``add_user(user, group)``
- ``delete_user(user,  group)``

## Exceptions

### UserExists
Raised by ``Basic.add`` if user already exists.

### UserNotExists
Raised by ``Basic.delete`` and ``Basic.change_password`` if there is no such user.

### GroupNotExists
Raised by ``Group.delete_user`` if there is no such group.

### UserAlreadyInAGroup
Raised by ``Group.add_user`` if user is already in a group.

### UserNotInAGroup
Raised by ``Group.delete_user`` if user isn't in a group.

### UnknownEncryptionMode
Raised by _encrypt_password if mode is not 'crypt' or 'md5'.
simplerouter 1.2
A very simple WebOb based router
License: MIT

simplerouter
============

simplerouter is a simple WSGI/WebOb router partially based on
the router described in `WebOb's DIY Framework Tutorial
<http://docs.webob.org/en/latest/do-it-yourself.html>`_.
Python 2.7 and Python 3.2 and newer are supported.

Documentation is available at `readthedocs.org
<http://simplerouter.readthedocs.org/en/latest/>`_.

The main git repository is available at `Bitbucket
<https://bitbucket.org/rschoon/simplerouter>`_.


Installing
----------

simplerouter uses a setup.py script in the usual fashion, like so::

    $ python ./setup.py install

Alternately, simplerouter is available on pypi and can be installed
using pip::

    $ pip install simplerouter


Quick Example
-------------

app.py:

.. code-block:: python

    from simplerouter import Router

    router = Router()
    # view names are composed of modulename:function
    router.add_route('/post/{name}', 'views:post_view')
    router.add_route('/', 'views:index_view')

    application = router.as_wsgi

    if __name__=='__main__':
        from wsgiref.simple_server import make_server
        make_server('', 8000, application).serve_forever()

views.py:

.. code-block:: python

    from webob import Response

    def post_view(request):
        post_name = request.urlvars['name']
        # ... process post_name
        return Response("Post output for %s"%post_name)

    def index_view(request):
        return Response("Site index")