Unofficial Plume URL API
Project description
Plume URL API
Plume URL API is an unofficial Python wrapper for the Plume URL shortening service.
Installation
To install the library, use pip:
pip install plume-url
Usage
Here's a basic example of how to use the library:
import asyncio
from plume_url import PlumeUrlAPI
api = PlumeUrlAPI("your_api_key_here")
async def main():
# Create a new URL
short_url = await api.create_url("https://www.google.com/")
print(f"Short URL: {short_url}")
# Search for a URL
search_result = await api.search_url("custom_id")
print(f"Search Result: {search_result}")
# Get a URL
url_info = await api.get_url("short_url_id")
print(f"URL Info: {url_info}")
# Edit a URL
edited_url = await api.edit_url("short_url_id", "https://www.new-url.com/")
print(f"Edited URL: {edited_url}")
# Delete a URL
delete_result = await api.delete_url("short_url_id")
print(f"Delete Result: {delete_result}")
if __name__ == "__main__":
asyncio.run(main())
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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 plumeurl-0.0.6.tar.gz.
File metadata
- Download URL: plumeurl-0.0.6.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa133471a6bbbcd5a8e02634341020a89e4e55fbad155ef9cfa2cc96cd1487c2
|
|
| MD5 |
79137ad03d251b511ab7eb26dc801741
|
|
| BLAKE2b-256 |
4aa9f582235fa9c902e4b5013d1f813fc782f5f7fee1aaa98f078898afd7be14
|
Provenance
The following attestation bundles were made for plumeurl-0.0.6.tar.gz:
Publisher:
publish.yml on Awakno/plume-url-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plumeurl-0.0.6.tar.gz -
Subject digest:
aa133471a6bbbcd5a8e02634341020a89e4e55fbad155ef9cfa2cc96cd1487c2 - Sigstore transparency entry: 179838422
- Sigstore integration time:
-
Permalink:
Awakno/plume-url-py@f115db5916320aba0dda5a618b02ca4268f4e9c5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Awakno
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f115db5916320aba0dda5a618b02ca4268f4e9c5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file plumeurl-0.0.6-py3-none-any.whl.
File metadata
- Download URL: plumeurl-0.0.6-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adcc4bfa786048fffdb9cbbcd3fa3f4ffffea8633b1a30ffa4d4d94f53d10461
|
|
| MD5 |
2d4a275a0b271af12e20312ebab3ce77
|
|
| BLAKE2b-256 |
62d66e30ea94a51e7fd7dea79ae11e33a55b9427ee49af0c025ce487b9557f68
|
Provenance
The following attestation bundles were made for plumeurl-0.0.6-py3-none-any.whl:
Publisher:
publish.yml on Awakno/plume-url-py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
plumeurl-0.0.6-py3-none-any.whl -
Subject digest:
adcc4bfa786048fffdb9cbbcd3fa3f4ffffea8633b1a30ffa4d4d94f53d10461 - Sigstore transparency entry: 179838424
- Sigstore integration time:
-
Permalink:
Awakno/plume-url-py@f115db5916320aba0dda5a618b02ca4268f4e9c5 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Awakno
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f115db5916320aba0dda5a618b02ca4268f4e9c5 -
Trigger Event:
push
-
Statement type: