pypermacc
Python3 wrapper for the perma.cc API (partial implementation, pull requests welcome)
Installation
Install from pypi : pip install pypermacc
Install from the source code :
git clone https://github.com/Te-k/pypermacc.git
cd pypermaa
pip install .
Usage
Without private key:
from pypermacc import Permacc
perm = Permacc()
# Download public archives
archives = p.public_archives()
# Get detail on the first one
details = p.archive_detail(archives['objects'][0]['guid'])
# Download warc file
warc = p.archive_download(archives['object'][0]['guid'])
With a private key
from pypermacc import Permacc
perm = Permacc(KEY)
# Save a webpage
saved = pp.archive_create('https://perma.cc/') # Inception
License
This code is publised under the MIT license
Metadata
Release files for pypermacc 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pypermacc-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for pypermacc-0.1.1-py3-none-any.whl |
Release files / pypermacc-0.1.1-py3-none-any.whl
| Download URL | pypermacc-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e27693c3bb740809847e08afdc48ae88a0919d40d0b97ec886f0c9802c8b43ee
|
|
BLAKE2b-256 checksum How to use checksums |
08e9ef0d389abd06de8e0d185691b704d12e14a0c4d6daba04eac34ab5137289
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2rc1
|
Security for pypermacc 0.1.1
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.