Skip to main content

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

Metadata

Release files for cosmopawn 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cosmopawn 1.1.0
File Size Uploaded Provenance Actions
cosmopawn-1.1.0.tar.gz 3.4 kB Without provenance Details for cosmopawn-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cosmopawn 1.1.0
File Interpreter ABI Platform Actions
cosmopawn-1.1.0-py3-none-any.whl Python 3 none any Details for cosmopawn-1.1.0-py3-none-any.whl

Total release size: 7.1 kB

Release files / cosmopawn-1.1.0.tar.gz

Download URL cosmopawn-1.1.0.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
b3ee6303ddce55b7dc005bc33b4c74fe6372253656f7bc370dc8f88c20040f79
BLAKE2b-256 checksum
How to use checksums
4792d689caf9d3de41a960b0ae247aeae9579501b6a8ad3d413f7fef9554ef59
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / cosmopawn-1.1.0-py3-none-any.whl

Download URL cosmopawn-1.1.0-py3-none-any.whl
Size 3.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10a2509da6904cbdbf6b73722dd74464883aafe4ca008524f9ff4619bc055a64
BLAKE2b-256 checksum
How to use checksums
508ad3018b6b7a3df50e33c722a282816d60a45bc7012583c51b0934fd8fcf37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Security for cosmopawn 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page