semvec/pypi-packages huggingface dataset:
coral 0.5.0
Coral: code-ify your synthetic DNA design workflow.
License: MIT
Keywords: synthetic biology,biology,design,automation,cloning,sanger,primer,dna,structure

Documentation available at http://coral.readthedocs.org.

Coral is a library for encoding the process of designing synthetic DNA
constructs. Coral mirrors the traditional design steps used in GUI-based
sequence design (ApE, j5, Benchling, etc.) as operations on data structures,
enables iterative design through analysis modules, and connects seamlessly to
outside libraries. Through the use of Coral, you can translate your DNA design
processes into concise, executable, and reusable scripts.

Coral encodes synthetic DNA design rules into its core sequence data types
(DNA, RNA, and Peptide), enabling concise, dependable methods for automated
DNA design.

Coral works with PyPy so long as a PyPy-compatible numpy is installed.
ticket_auth 0.1.4
Ticket authentication system similar to mod_auth_tkt used by Apache
License: MIT
Keywords: mod_auth_tkt authentication session ticket

ticket_auth
===========

Simple library that provides a mod_auth_tkt like hashed tickets that can be
used for storing user authentication details.

The library is not interchangable with the mod_auth_tkt format, as the
mod_auth_tkt does not provide support for ipv6 addresses and different hash
algorithms, whereas ticket_auth provides both.

Usage
-----

The general format for using the library is to instantiate the ticket factory
used to generate the tickets, and then create new tickets or validate existing
tickets using that factory. For example::

    # The ticket factory takes a bytes argument specifying the secret
    # identifier, and a optional algorithm (defaults to sha512). Possible
    # algorithms are those specified by the python hashlib library
    factory = TicketFactory(b'secret', hashalg='md5')

    # The new function returns a new ticket (as a string). It takes a user
    # identifier as a argument, along with several optional arguments. The
    # valid_until argument is the time at which the ticket expires.
    valid_until = time.time() + 60
    ticket = factory.new('test_id', valid_until=valid_until)

    # A ticket can be validated with the validate function. It returns a
    # TicketInfo value on success, or raises an error on failure
    info = factory.validate(ticket)

Tickets can also be bound to a particular client ip address by passing a
ip address like object (either string, or from module ip_address) as the
client_ip argument when creating and validating the string. For example::

    valid_until = time.time() + 60
    ticket = factory.new('test_id', valid_until=valid_until,
                         client_ip='192.168.0.1')

    info = factory.validate(ticket, client_ip='192.168.0.1')

A sequence of tokens can also be passed, which will be added to the ticket.
Note that these tokens (like the user id and user data) are stored in plain
text format::

    ticket = factory.new('test_id', valid_until=valid_until, tokens=('a', 'b'),
                         user_data='some data')

The TicketInfo object returned by the validate function is a named tuple with
the following parameters: digest (hash function output), user_id, tokens,
user_data, valid_until.

License
-------

The library is licensed under a MIT license.
delay_decorator 1.0.1
A python Function / Method delay executing system base on function Decorators.
License: MIT
Keywords: delay,decorator,python,schedule

A python Function / Method delay executing system base on function Decorators.

Auto delay the Function execution for a certain period time.
The new function will replace the older one and reset the countdown of the delay time.

GitHub: https://github.com/bazookapb/delay_decorator.git

特点

- 兼容各种版本的python，包括python2和python3的个版本；
- 使用方便：一个装饰器放到方法的头部即可延时执行该方法；
- MIT 授权协议；


安装说明

代码对 Python 2/3 均兼容

1. 全自动安装： ``easy_install delay_decorator`` 或者 ``pip install delay_decorator`` / ``pip3 install delay_decorator``
2. 半自动安装：先下载 https://pypi.python.org/pypi/wrapcache/ ，解压后运行
   python setup.py install
3. 手动安装：将 delay_decorator 目录放置于当前目录或者 site-packages 目录

通过 import delay_decorator 来引用
json-digger 0.2
The script is to help you look either for specific keys or values in multi-tier nested python dictionaries (either native or converted from JSON).
License: MIT
Keywords: python,json,digger,dict,nested,py,dictionary,multi-tier

# Python dictionary/JSON digger

# About

The script is to help you look either for specific keys or values in multi-tier nested python dictionaries (either native or converted from JSON).

# Usage

I am using it heavily in analyzing the data retrieved from REST APIs (Google, Bing, Linkedin etc.), NoSQL dbs (MongoDB etc.), python dictionaries.

# Installation

```
$ pip install json-digger
```

# Python Version

It has been developed and tested under Python 2.7. However it supports also Python 3.

# How to use?

```python
from json_digger.json_digger import JsonDigger

weather = {"coord":{"lon":-0.13,"lat":51.51},"sys":{"type":3,"id":60992,"message":0.0921,"country":"GB","sunrise":1423639268,"sunset":1423674497},"weather":[{"id":803,"main":"Clouds","description":"broken clouds","icon":"04d"}],"base":"cmc stations","main":{"temp":278.05,"humidity":84,"pressure":1025.6,"temp_min":278.05,"temp_max":278.05},"wind":{"speed":2.39,"deg":122.505},"rain":{"3h":0},"clouds":{"all":80},"dt":1423646999,"id":2643743,"name":"London","cod":200}

i = JsonDigger(weather) #  initialize class instance

r_k = i.get_keys('country') #  search for key 'country'
r_v = i.get_values(278.05) #  search for value '278.05'

print r_k #  response: {u':sys:country': [u'GB']}
print r_v #  response: {u':main:temp': [278.05], u':main:temp_max': [278.05], u':main:temp_min': [278.05]}
```

More in tester.py!

# Must have (if work with JSONs)

JSON module for Python (https://docs.python.org/2/library/json.html).



# Release History

0.2.0 (2016-02-20)
Added support for Python 3.

0.1.0 (2015-02-11)
First release.