Python library to backup pixiv user data to SQLite DB.
Project description
pixiv-sql
Python library to backup pixiv user data to SQLite DB.
Installation
You can install this library using PyPI:
pip install pixiv-sql
Usage
initialize the PixivSQL class with your Pixiv user ID, refresh token, and database:
user_id = "your_user_id"
refresh_token = "your_refresh_token"
database = "your_database_path_from_root_dir"
app = PixivSQL(user_id, refresh_token, database)
You can then fetch your bookmarks and insert them into the database:
app.bookmark()
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
pixiv_sql-0.1.0.tar.gz
(119.7 kB
view details)
Built Distribution
File details
Details for the file pixiv_sql-0.1.0.tar.gz
.
File metadata
- Download URL: pixiv_sql-0.1.0.tar.gz
- Upload date:
- Size: 119.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5214cebc7bdef0abc8837580b135312152184d7682306cbea080c9605e81c71 |
|
MD5 | 559498083d04a68816157532566fb72b |
|
BLAKE2b-256 | ca74135ad30b514f11f6fffae7b620e6ff96e4168274a6ed0b610ed5728b4610 |
File details
Details for the file pixiv_sql-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pixiv_sql-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c04afabcd726c2fdd1b07d830e10108bb62d2bfe56a243c9ddf34a19e7f76af |
|
MD5 | 4b1752f2b0d41b914d19b85a170a725e |
|
BLAKE2b-256 | 65c3653c0c05a9943418139295598d52e095a8dc4e1a43f742d281dabf202235 |