semvec/pypi-packages huggingface dataset:
ppfun 1.0.5
Allows you to use the PixelPlanet.Fun API
Requires Python: >=3.6

# ppfun
ppfun allows you to use the PixelPlanet.Fun's (hence the name) API in your Python code. I personally didn't come up with any use case besides auto-drawing bots. But you may. Please e-mail me if you come up with any idea, I will truly be interested.

Example code:
```python
# import the library
import ppfun

# create an API object
pp = ppfun.PPFun_api()
# print the list of available canvases
print('---------')
print('Canvases:')
for c in pp.list_canv():
    print(c['title'] + '\t\t' +
          c['description'] + '\t\t' +
          str(c['size']) + 'x' + str(c['size']) + '\t\t' +
          '(' + c['identifier'] + ')')
print('---------')
# get the main canvas (Earth)
canv = pp.get_canv('d')
# print the approximation of the lime color for this canvas
print('Lime color ID: ' + str(canv.approx_color((0, 255, 0))))
# set a pixel at (-1532, -550) and print the cooldown time
canv.set_pixel((-1532, -550), canv.approx_color((0, 255, 0)))
print('Cooldown after setting the pixel: ' + str(canv.remaining_cooldown()))
```
# installation
`pip install ppfun`

# documentation
## PPFun_api class
This is where the journey starts. You create a client by creating an instance of this class. The library then fetches some data from the server.
It is available through these functions:
* `list_canv()` - returns a list of canvas descriptors. Each descriptor is a dictionary that contains the `title`, `description`, `size` and `identifier` keys
* `get_canv(ident)` - returns a canvas object of the canvas with a specific identifier
## PPFun_canv class
This class contains all the functions you need to create your masterpiece. Here they are:
* `approx_color(rgb_tuple)` - returns a color index that approximates the given color the most
* `set_pixel(pos_tuple, color_index)` - places a pixel on the map. Throws an exception on error, returns True on success
* `remaining_cooldown()` - returns the remaining cooldown in seconds
s3resumable 0.0.3
Resumable S3 download
Requires Python: >=2.6

[![Build Status](https://travis-ci.org/immfly/s3resumable.svg?branch=master)](https://travis-ci.org/immfly/s3resumable)

# S3Resumable

This modules provides a helper class to download files from S3 using boto3.
To be able to recover incomplete downloads, it downloads files in parts of
the configured size.

## Installation

Using `pip`:

```bash
pip install s3resumable
```

Using `docker-compose`:

```bash
docker-compose build
```

## Usage

The basic usage of s3resumable module can be summarized as declare a `boto3`
client and pass it on `S3Resumable` class:
 
```python
import boto3
from s3resumable import S3Resumable 

s3client = boto3.client('s3')
s3resumable = S3Resumable(s3client)
s3resumable.download_file('my_bucket', 'my_key', 'my_download_dir')
```

This will download the file in parts (15mb by default) and once downloaded
all the parts will join them in one file.

A CLI can also be used. Check the help:

```bash
s3resumable --help
```

## QA

In order to check QA, you can use docker-compose:

```bash
docker-compose build
docker-compose run py27 qa
docker-compose run py37 qa
```
nomad-cbec-cli 1.0.1
Nomad CBEC
Keywords: OpenAPI,OpenAPI-Generator,Nomad CBEC

This is the API descriptor for the Nomad CBEC, responsible for CBEC customer queries.&lt;br&gt;&lt;br&gt; Developed by &lt;a href&#x3D;\&quot;https://samarkand.global\&quot;&gt;Samarkand Global&lt;/a&gt; in partnership with &lt;a href&#x3D;\&quot;https://www.sf-express.com/cn/sc/\&quot;&gt;SF Express&lt;/a&gt;&lt;br&gt;&lt;br&gt; Install for node with &lt;br&gt;&#x60;npm install nomad_cbec_cli&#x60;&lt;br&gt;&lt;br&gt; Install for python with &lt;br&gt;&#x60;pip install nomad_cbec-cli&#x60;&lt;br&gt;  # noqa: E501