semvec/pypi-packages huggingface dataset:
redis-utils 1.0.5
Redis utilities for TDD/BDD
License: MIT
Keywords: redis,utilities

Py-Redis-Utils
==============

Useful when a seeded redis database is needed during test-cycles

Overview
--------

-  helpers for seeding / clearing local redis databases during testing
-  Functions
-  dump\_to\_file(path, redis\_conn = None, host = "localhost", port=
   6379 ) - create a pickled dump of redis
-  load\_from\_file(path, redis\_conn = None, host = "localhost", port=
   6379 ) - load a pickled file into redis
-  clear(redis\_conn = None, host = "localhost", port= 6379 ) - clear a
   redis database
-  This is good for any testing environment and works well in a setup /
   breadkown Nose testing environment
py-config 1.0.2
Configuration manager for python projects
License: MIT
Keywords: configuration,management

Python Utilities
================

Config Class
------------

-  a class for managing project variables based upon bash env variables
-  recommended to be used with .export files `Jon Morehouse
   Scripts <https://github.com/jonmorehouse/scripts>`__

Sample Usage
------------

::

    from config import Config

    # load variables from env
    Config.load_from_list(["PATH", "PWD", "ENV"])

    # load an exports file of the following format
    # ENV=PRODUCTION
    # MODULE=TEST
    Config.load_from_path(".test.exports")

    # load yaml/json file
    Config.load_from_path("config.json")
    Config.load_from_path("config.yml")

    # access config
    print Config.PATH
sermon-audio 0.0.8
A python wrapper to the Sermon Audio API.
License: MIT

# Sermon Audio API

Sermon Audio API is a python wrapper for the APIs of ([http://www.sermonaudio.com/api](http://www.sermonaudio.com/api))

## Install

1. pip install sermon-audio

## Usage

#### Get Speakers By Member Id

	from sermonaudio import SermonAudioAPI
	
	speakers = SermonAudioAPI.get_speakers_by_member_id(member_id='communitybapt')

	print speakers

#### Get Sermon List

	from sermonaudio import SermonAudioAPI

	api = SermonAudioAPI('username', 'password')
	
	# There are only a few categories you can search for:
	#     speaker
	#     eventtype
	#     series
	#     year
	
	sermons = api.get_sermon_list(category='year', search_term='2013')
	
	print sermons

#### Get Sermon Info

	from sermonaudio import SermonAudioAPI
	
	api = SermonAudioAPI('username', 'password')
	
	sermon = api.get_sermon_info(sermon_id='328131022290')
	
	print sermon
	
#### Newest Sermons By Speaker

	from sermonaudio import SermonAudioAPI 
	
	sermons = SermonAudioAPI.newest_sermons_by_speaker(speaker='David Whitcomb')
	
	print sermons
	
#### Newest Sermons By Member Id

	from sermonaudio import SermonAudioAPI
	
	sermons = SermonAudioAPI.newest_sermons_by_member_id(member_id='communitybapt')
	
	print sermons
	
#### Get Event Types

	from sermonaudio import SermonAudioAPI
	
	event_types = SermonAudioAPI.get_event_types()
	
	print event_types
	
#### Get Languages

	from sermonaudio import SermonAudioAPI
	
	languages = SermonAudioAPI.get_languages()
	
	print languages
	
#### Get Newest Series By Member Id

	from sermonaudio import SermonAudioAPI

	series = SermonAudioAPI.get_newest_series_by_member_id(member_id='communitybapt')
	
	print series
	
#### Get Series By Member Id

	from sermonaudio import SermonAudioAPI
	
	series = SermonAudioAPI.get_series_by_member_id(member_id='communitybapt')

	print series
	
#### Get Speakers By Keyword

	from sermonaudio import SermonAudioAPI
	
	speakers = SermonAudioAPI.get_speakers_by_keyword(keyword='love')
browser_vulnerabilities 0.1.0
Library for detecting vulnerable browsers
License: MIT
Keywords: browser user-agent vulnerability

Browser vulnerabilities database
================================

This small library detects vulnerable operating systems and browsers
based on browser user-agent string. No active checks are included.

::

  from browser_vulnerabilities import BrowserVulnerability

  ua1 = 'Mozilla/5.0 (Windows NT 6.3; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0'
  ua2 = 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:27.0) Gecko/20100101 Firefox/27.0'
  bv = BrowserVulnerability(ua1)
  print bv.vulnerabilities() 
  # {'priority': 'recommended', 'readable_version': 'Firefox older than 27.0',
  # 'name': 'Firefox', 'version__smaller': '27.0'}
  bv = BrowserVulnerability(ua2)
  print bv.vulnerabilities()
  # False

Minimal database is available in ``browser_vulnerabilities/data.py`` file. The database is updated manually.
Order of criteria is important. The most important and most strict criteria should be first. Matching is aborted
on the first hit.

Mandatory keywords:

- ``platform`` / ``flavor`` / ``name``: first two are for OS, and ``name`` for browser (feature of httpagentparser)
- ``priority``: 

  * "mandatory" - user action is required, and actions should be either denied or delayed with message.
  * "recommended" - updating is highly recommended but not mandatory.
  * "optional" - the warning should be shown to user only when user requests more information.

Optional keywords:

- ``version__smaller``: any version larger than this will not match the rule.
- ``version__larger``: any version smaller than this will not match the rule.
- ``version__extra``: compiled ``re`` for additional checks.
- ``vuln``: link to related website describing the vulnerabilities / why specific update is important.
- ``readable_name``: user-readable product name
- ``version``: user-readable version criteria for warnings


License
-------

Licensed under MIT license:

Copyright (c) 2014 Olli jarva olli@jarva.fi

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
s3pip 0.1.1
A pip wrapper that uses AWS S3 for package data
License: MIT

=====
s3pip
=====

A pip wrapper that uses Amazon's S3 for package data.


Usage
^^^^^

Installation::

    $ pip install s3pip

Set an environment variable containing the name of your bucket.

.. code-block:: bash

    $ export S3_PIP_BUCKET_NAME=my_own_pypi_bucket

Now you can use s3pip just like pip

.. code-block:: bash

    $ s3pip install requests
      Downloading/unpacking requests
        Found item in S3 /simple/requests/index.html
        Found item in S3 /packages/2.7/r/requests/requests-2.2.1-py2.py3-none-any.whl
        Downloading requests-2.2.1-py2.py3-none-any.whl (625kB): 625kB downloaded
      Installing collected packages: requests
      Successfully installed requests
      Cleaning up...
django-mutex-event 0.1.3
Mutual excluded events.
License: MIT
Keywords: django,mutex-event,mutual exclusion

django-mutexevent
=================

[![Build Status](https://travis-ci.org/lovasb/django-mutexevent.png?branch=master)](https://travis-ci.org/lovasb/django-mutexevent)

http://en.wikipedia.org/wiki/Mutually_exclusive_events