semvec/pypi-packages huggingface dataset:
gobbler 0.2.2
Turkey-themed image catalog to boost the holiday mood.
License: MIT

# gobbler
[![Travis CI](https://travis-ci.com/RaySSharma/gobble.svg?branch=master)](https://travis-ci.com/RaySSharma/gobble) 
[![Wheel](https://img.shields.io/pypi/wheel/gobble.svg)](https://pypi.org/project/gobbler/)
[![codecov](https://codecov.io/gh/RaySSharma/gobble/branch/master/graph/badge.svg)](https://codecov.io/gh/RaySSharma/gobble)



A turkey-themed image catalog featuring over 99 hand-picked images to boost the holiday mood.

## Installation
```python
pip install gobbler
```
## Usage

### Python
```python
from gobble import gobble

gobble()
gobble(99)
```
### Command line
```
usage: gobble [-h] [-n NUM]

A turkey-themed image catalog featuring over 99 hand-picked images to boost
the holiday mood.

optional arguments:
-h, --help         show this help message and exit
-n NUM, --num NUM  Specify image number
```

## License

MIT © [Ray Sharma](http://rayssharma.com)
zaidan 0.1.1
Common utilities for the Zaidan system.
License: MIT

# Zaidan utilities (python)

Zaidan common utility classes/functions for the Zaidan system in python.

## Exports

Classes/functions exported by `zaidan` (PyPi package).

### `Logger` (base class)

A simple logger class that outputs a standardized JSON format.

#### Constructor
```python
def __init__(self, name: str, level: str) -> Logger
```

Create a new logger. Provide a `name` for the underlying `logging.logger` instance, and a level, for which messages below that level will be ignored.

Accepted levels are (correspond to levels from standard library `logging` module):
- `"debug"` - More verbose, specific state information.
- `"info"` - General, normal-operation information.
- `"warn"` - Warnings about extreme cases, etc.
- `"error"` - Standard errors.

No levels less than "debug" or higher than "error" (critical, etc.) are supported at this time.

#### `logger.debug`
```python
def debug(self, message: str, extra: object) -> None
```

Log an `debug` level message. Currently, `extra` fields must be provided, along with a `message` string.

#### `logger.info`
```python
def info(self, message: str, extra: object) -> None
```

Log an `info` level message. Currently, `extra` fields must be provided, along with a `message` string.

#### `logger.warn`
```python
def warn(self, message: str, extra: object) -> None
```

Log an `warn` level message. Currently, `extra` fields must be provided, along with a `message` string.

#### `logger.error`
```python
def error(self, message: str, extra: object) -> None
```

Log an `error` level message. Currently, `extra` fields must be provided, along with a `message` string.

### `FlaskLogger(Logger)`

For use with Flask web-applications. Extends the `Logger` class, so all log methods are the same.

#### Constructor
```python
def __init__(self, app: flask.App, name: str, level: str, suppress_app_logs: bool) -> FlaskLogger
```

Create a new Flask logger. Required parameters:
- `app` - The Flask application instance.
- `name` - The name of the application or logger.
- `level` - Log level (see `Logger`).
- `suppress_app_logs` - Set to `True` to suppress all flask request and werkzug logs.
apitracker-python-sdk 0.0.2
This is a library to patch python http client to send request to apitracker proxy https://apitracker.com
License: MIT
Keywords: apitracker,http,proxy

apitracker is API integration reliability as a service. It provides a network proxy that lets developers adds monitoring, error alerting, auto retry and more to their API integration, all with zero code change. Sign up at https://apitracker.com for a free account
shortener 0.2.1
URL shortener in django
License: MIT
Requires Python: >=3.5

# shortener

[![CircleCI](https://circleci.com/gh/pennlabs/shortener.svg?style=shield)](https://circleci.com/gh/pennlabs/shortener)
[![Coverage Status](https://coveralls.io/repos/github/pennlabs/shortener/badge.svg?branch=master)](https://coveralls.io/github/pennlabs/shortener?branch=master)
[![PyPi Package](https://img.shields.io/pypi/v/shortener.svg)](https://pypi.org/project/shortener/)

Basic URL shortener as a Django app.

To use:

1. Install using pip `pip install shortener`
2. Include `shortener.apps.ShortenerConfig` to `INSTALLED_APPS` in your project's `settings.py`
3. Add the shortener to `urls.py`.
    - Example: `path('s/', include('shortener.urls', namespace='shortener'))` will shorten URLs to `https://example.com/s/<ID>`.
4. `python manage.py migrate`
5. Either add in URL shortcuts manually through Admin, or add some hook in your project to call `shortener.objects.get_or_create`.
The function takes in a long URL and returns a `Url` object which contains the full shortened url as `Url.shortened`, and the slug in `Url.short_id`.