Skip to main content

pixivcat

an async pixiv toolbox

Feature

  • use async
  • high performance
  • concurrency download
  • raw pixiv api

Useage

  • install pixivcat
  • pip install pixivcat
    
  • Login to pixiv using refresh token, if you don't have a pixiv refresh token, You can find the access method at @upbit
  •   from pixivcat.AppApi import AppClient
      refresh_token = "xxxxxxxxxxxxxxx" # your refresh token
      async def login():
          app = AppClient(refresh_token=refresh_token)
          async with app:
              image = app.illust_detail(99057163)
              print(image)
              #download image to path
              await image.download_origin("setu")
              # bookmark the image
              await app.illust_bookmark_add(image.id)
    

proxy

if you want use your proxy, you can add the proxy link to the parameter

app = AppClient(refresh_token=refresh_token,proxy="http://host:port")

exmaple

see exmaple.py

Metadata

Release files for pixivcat 0.0.2

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

Source distribution (sdist)

Source distribution for pixivcat 0.0.2
File Size Uploaded Provenance Actions
pixivcat-0.0.2.tar.gz 10.4 kB Without provenance Details for pixivcat-0.0.2.tar.gz

Release files / pixivcat-0.0.2.tar.gz

Download URL pixivcat-0.0.2.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ce7b9f13005bc08e55a15d0db0f022e5b67a1033d6b990441ddd9d430dcb7f7a
BLAKE2b-256 checksum
How to use checksums
f0914d49a187e5f72a241bfea6f1f71acbac4f5b10e0a89e3bb526ab504a7968
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.3 requests/2.28.1 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.10.6

Security for pixivcat 0.0.2

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

0.0.2 This release

1 release file 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