Skip to main content

dpixiv

Tool to simple use pixiv api of site

Install

pip install dpixiv

Example of using

from dpixiv import DPixivIllusts

pix = DPixivIllusts(login, password, session=None, tt=None, proxy=None) #Auth

### Attributes: ###

pix.login    #login
pix.password #password 
pix.session  #session
pix.tt       #tt :-)
pix.proxy    #http proxy 'http://{ip}:{port}'

### Methods:    ###

# Get lists of ids that recommended to user by pixiv
pictures_ids = pix.recommender(sample_illusts=None, count=100)

# Get list(or not) of short information of pictures (fast speed)
short_pictures_info = pix.illust_list(illusts)

# Get full information of picture (not so fast)
full_picture_info = pix.info(id, token=False)

# Use next method for a lot of pictures(much faster then one by one)
# Get list of full information of picture (medium speed)
full_pictures_info = pix.info_packs(ids, token=False)

# Get lists of ids of pictures that similar to picture with id (fast speed)
similar_pictures_ids = pix.similar(id, limit=10)

# Get list of bookmarks
bookmarks_ids = pix.bookmarks(page=None, from_page=1, to_page=1000000, step_count=10)
# Use page to show only one page

# Get list of following
following_ids = pix.new_work_following(page=None, from_page=1, to_page=1000000, step_count=10)
# Use page to show only one page

# Search by name
search_ids = pix.search(page=None, from_page=1, to_page=1000000, step_count=10)
# Use page to show only one page

# Add tag (set token=True to info and get by 'token' key)
response = pix.add_tag(pic_id, tag, token)

# Delete tag
response = pix.del_tag(pic_id, tag, token)

Metadata

Release files for dpixiv 3.0.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 dpixiv 3.0.0
File Size Uploaded Provenance Actions
dpixiv-3.0.0.tar.gz 4.7 kB Without provenance Details for dpixiv-3.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 10.4 kB

Release files / dpixiv-3.0.0.tar.gz

Download URL dpixiv-3.0.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
72f88059255bb20ed73a0d36522354da628d9f806c6ba4d02e54abf7e39bd4e0
BLAKE2b-256 checksum
How to use checksums
4fc84a5195e7b27df332cd37a93a6fac6133db44aed0c1c3c5e06cff9073d8ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

Release files / dpixiv-3.0.0-py3-none-any.whl

Download URL dpixiv-3.0.0-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2cabbffedb3c2ddd82862a3b9c0f677af1a3b454b67bbcbd2635f8d0a96ab10e
BLAKE2b-256 checksum
How to use checksums
b983421fd36dd460d3cfbbd30ece9ead8d976557ff7e9b19936f0d0877e61177
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.4

Security for dpixiv 3.0.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.

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