Skip to main content

Danbooru

PyPI GitHub license

  • Version: 0.0.9
  • License under: MIT License

Dependencies

Example of use

Danbooru

from danbooru import Danbooru
booru = Danbooru() or Danbooru(host="safebooru")
post_random = booru.post_random()
print(post_random.file_url)

results

  • 1 Saber alter on a moto with a bikini
  • 2 Two character of azur lane, version chibi

Login example

from danbooru import Danbooru
booru = Danbooru("YOUR-USERNAME", "YOUR-API_KEY")
print(booru.searchs(tags="loli"))
from danbooru import Danbooru
booru = Danbooru("YOUR-USERNAME", "YOUR-PASSWORD")
print(booru.searchs(tags="1girl 1boy"))
from danbooru import Danbooru
booru = Danbooru()
account = booru.create_account()
USERNAME = account["username"]
PASSWORD = account["password"]
print(USERNAME, PASSWORD)
print(booru.searchs(tags="long_hair"))

Metadata

Release files for danbooru 0.1.1

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

Source distribution (sdist)

Source distribution for danbooru 0.1.1
File Size Uploaded
danbooru-0.1.1.tar.gz 10.4 kB Details

Built distribution (wheel)

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

Total release size: 21.3 kB

Release files / danbooru-0.1.1.tar.gz

Download URL danbooru-0.1.1.tar.gz
Size 10.4 kB
Tags Source
SHA-256 checksum
How to use checksums
011f2c7f802cffcb5d47cc61e545459f83218c607eb79020a81e576b45453a3c
BLAKE2b-256 checksum
How to use checksums
9f3d59976aae8864bf2a9050ad68f9cf52fd1dd59aa21f8f4ed61217f685a11d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / danbooru-0.1.1-py3-none-any.whl

Download URL danbooru-0.1.1-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d477bf22e43bc5549ea53f0d9dc475dcf04f289c5692b5293d3785668f92e6ca
BLAKE2b-256 checksum
How to use checksums
324bff227c248ec8101a2f271cbb4c81f02838f842016d2d405d94279986d665
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

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