Geelboru
![](/file/13a3b9e931c19ca98e655.gif)
🛑 ALL INFORMATION CLICK HERE 👈🏻👈🏻👈🏻
Geelboru
Features
Mobile
Actions
Codespaces
Copilot
Packages
Security
Code review
Issues
Discussions
Integrations
GitHub Sponsors
Customer stories
Explore GitHub
Learn and contribute
Topics
Collections
Trending
Skills
GitHub Sponsors
Open source guides
Connect with others
The ReadME Project
Events
Community forum
GitHub Education
GitHub Stars program
Plans
Compare plans
Contact Sales
Education
In this user
All GitHub
↵
In this user
All GitHub
↵
Search
All GitHub
↵
In this user
All GitHub
↵
Overview
Repositories
Projects
Packages
Stars
The new account used for Gelbooru 0.3.x.
Overview
Repositories
Projects
Packages
Stars
gelbooru doesn't have any public repositories yet.
Less
More
2022
2021
2020
2019
gelbooru has no activity
yet for this period.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
Prevent this user from interacting with your repositories and sending you notifications.
Learn more about blocking users .
You must be logged in to block users.
Contact GitHub support about this user’s behavior.
Learn more about reporting abuse .
Seeing something unexpected? Take a look at the
GitHub profile guide .
Something went wrong, but don’t fret — let’s give it another shot.
Help
Sponsors
Log in
Register
Menu
Help
Sponsors
Log in
Register
Search PyPI
Search
Navigation
Project description
Release history
Download files
Project links
Homepage
Classifiers
Development Status
4 - Beta
Intended Audience
Developers
License
OSI Approved :: GNU General Public License v3 (GPLv3)
Programming Language
Python :: 3.9
Topic
Multimedia :: Graphics
Software Development :: Libraries :: Python Modules
Project links
Homepage
Classifiers
Development Status
4 - Beta
Intended Audience
Developers
License
OSI Approved :: GNU General Public License v3 (GPLv3)
Programming Language
Python :: 3.9
Topic
Multimedia :: Graphics
Software Development :: Libraries :: Python Modules
Help
Installing packages
Uploading packages
User guide
FAQs
About PyPI
PyPI on Twitter
Infrastructure dashboard
Package index name retention
Our sponsors
Contributing to PyPI
Bugs and feedback
Contribute on GitHub
Translate PyPI
Development credits
Using PyPI
Code of conduct
Report security issue
Privacy policy
Terms of use
English
español
français
日本語
português (Brasil)
українська
Ελληνικά
Deutsch
中文 (简体)
中文 (繁體)
русский
עברית
esperanto
pip install python-gelbooru
Copy PIP instructions
Python-Gelbooru is an unofficial and lightweight asynchronous wrapper for the Gelbooru API.
View statistics for this project via Libraries.io , or by using our public dataset on Google BigQuery
License: GNU General Public License v3 (GPLv3) (gpl-3.0)
Tags
gelbooru,
anime,
artwork,
anime artwork,
booru
Everything starts with the AsyncGelbooru class. It can be used as a context manager.
Here's an example before showing the full docs
This downloads 10 random arts with the tags saigyouji_yuyuko that are rated explicit to the arts folder and uses the id of the post for the file name (and automatically uses the correct extension)
The documentation of all of the attributes, methods and properties of these classes can be found here, or in the docstrings.
def __init__(self, *, api_key: Optional[str] = None, user_id: Optional[str] = None)
If values are provided to the constructor, it will represent a session that has a verified API key and user id.
Note: Results will not be changed if the API key or user id is invalid, just that you might be more rate limited more often.
async def search_posts(self, tags: Iterable[str], *, exclude_tags: Iterable[str] = None, limit=1, page_number: int = 0, random: bool = False ) -> Tuple[Post, ...]
Searches Gelbooru with the tags and excluded tags provided.
These tags are not Tag objects, but you can call str() on the Tag object to get the tag that goes in the iterable.
The strings that go in both of the tags and exclude_tags parameters can have spaces, improper capitalization. They will be properly formatted during search.
If random is True: returns random posts.
page_number is with respect to the limit.
Even though the Gelbooru API returns 100 posts by default when a limit isn't provided, this library returns 1 to save from some disasters.
async def get_post(self, *, post_id: Optional[int] = None, md5: Optional[str] = None) -> Tuple[Post, ...]
async def get_post_comments(self, post: Post) -> Tuple[Comment, ...]
async def search_tags(self, names: Optional[Iterable[str]] = None, limit: int = 1, *, name_pattern: Optional[str] = None, after_id: Optional[int] = None, order: Optional[Literal['asc', 'desc']] = None, order_by: Optional[Literal['date', 'count', 'name']] = None) -> Tuple[Tag, ...]
async def get_tag(self, *, name: Optional[str] = None, tag_id: Optional[int] = None) -> Tag
async def async_download(self, path: Optional[str] = None, *, session: Optional[aiohttp.ClientSession] = None, stream: Optional[BinaryIO] = None):
def sync_download(self, path: Optional[str] = None, *, session: Optional[requests.Session] = None, stream: Optional[BinaryIO] = None):
Attributes can be found in the docstrings
View statistics for this project via Libraries.io , or by using our public dataset on Google BigQuery
License: GNU General Public License v3 (GPLv3) (gpl-3.0)
Tags
gelbooru,
anime,
artwork,
anime artwork,
booru
Download the file for your platform. If you're not sure which to choose, learn more about installing packages .
Uploaded Jul 7, 2022
source
Developed and maintained by the Python community, for the Python community.
Donate today!
8b62e0f0279b90637b1b7672c13676bd9c989a9ac2552c3ef8e02d55b1114eb4
44a603a4311b266163d0e29d81c41e56ce6a822edcb3ef9f19217347aa5d1d06
× Ваше мнение очень важно для нас. Спасибо за ваше участие.
< 14
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65+
< 14
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65+
Nubiles Orgy
Crazy James Porno
Hardcore Max Videos