CosmoPawn-Py : An API wrapper for CosmoPawn in Python
Installation
pip install cosmopawn
# or
pip3 install cosmopawn
# or
pip install git+https://github.com/pennacap/cosmopawn-py
Usage
import cosmopawn
wrapper = cosmopawn.CosmoPawn() # Or pass in an IP address / domain
wrapper.download('dog', prefix='dog_pics/dog', no=10) # downloads 10 dog pictures, prefixing their file name with dog and saving it to dog_pics/
wrapper.upload(['file1.jpg', 'file2.png'], ['keyword1', 'keyword2']) # upload file1.jpg and file2.png with keywords keyword1 and keywords2
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cosmopawn-1.1.0.tar.gz
(3.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file cosmopawn-1.1.0.tar.gz.
File metadata
- Download URL: cosmopawn-1.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3ee6303ddce55b7dc005bc33b4c74fe6372253656f7bc370dc8f88c20040f79
|
|
| MD5 |
3fda6b3f63922497444759d588bd08df
|
|
| BLAKE2b-256 |
4792d689caf9d3de41a960b0ae247aeae9579501b6a8ad3d413f7fef9554ef59
|
File details
Details for the file cosmopawn-1.1.0-py3-none-any.whl.
File metadata
- Download URL: cosmopawn-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
10a2509da6904cbdbf6b73722dd74464883aafe4ca008524f9ff4619bc055a64
|
|
| MD5 |
b49ee3dfb9b29f19e21f84170725eb90
|
|
| BLAKE2b-256 |
508ad3018b6b7a3df50e33c722a282816d60a45bc7012583c51b0934fd8fcf37
|