semvec/pypi-packages huggingface dataset:
pydrip 0.2.0
A Python 3 client for the Drip API.

# Python Drip Client

This python drip client is maintained by Matthew Clarkson from [Paper Planes](https://flypaperplanes.co), a data driven digital marketing agency based in Brisbane, Queensland Australia.

## Installation

To install this package run `pip install pydrip`.

## Usage

To use this package, simply import and initialize the DripClient from python-drip as follows:

```python

from pydrip import DripClient

drip = DripClient(token=YOUR_ACCESS_TOKEN, account_id=YOUR_ACCOUNT_ID)

# Get Subscribers
status, data = drip.subscribers()
subscribers = data['subscribers']

# Create a Subscriber
subscriber = {
    'subscribers': {[
        { 'email': 'test@test.com' }
    ]}
}

drip.create_or_update_subscriber(subscriber)

```

About 90% of the API is covered.

## Todo
- Documentation
- Test it ;)
pep508-parser 2019.3
A parser for the PEP508 dependency specification.
Requires Python: !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4
Keywords: pep508

# pep508-parser

A parser for the [PEP508](https://www.python.org/dev/peps/pep-0508/) dependency specification.

# Example
```python
#!/usr/bin/env python3

from pep508_parser import parser

tests = [
    "A",
    "A.B-C_D",
    "aa",
    "name",
    "name<=1",
    "name>=3",
    "name>=3,<2",
    "name@http://foo.com",
    "name [fred,bar] @ http://foo.com ; python_version=='2.7'",
    "name[quux, strange];python_version<'2.7' and platform_version=='2'",
    "name; os_name=='a' or os_name=='b'",
    # Should parse as (a and b) or c
    "name; os_name=='a' and os_name=='b' or os_name=='c'",
    # Overriding precedence -> a and (b or c)
    "name; os_name=='a' and (os_name=='b' or os_name=='c')",
    # should parse as a or (b and c)
    "name; os_name=='a' or os_name=='b' and os_name=='c'",
    # Overriding precedence -> (a or b) and c
    "name; (os_name=='a' or os_name=='b') and os_name=='c'",
]


def main():
    for test in tests:
        parsed = parser.parse(test)
        print("{} -> {}".format(test, parsed))


if __name__ == '__main__':
    main()
```