{"id":16384447,"url":"https://github.com/luquedaniel/pybooru","last_synced_at":"2025-07-10T11:03:56.608Z","repository":{"id":3433908,"uuid":"4486051","full_name":"LuqueDaniel/pybooru","owner":"LuqueDaniel","description":"Pybooru is a Python package to access to the API of Danbooru/Moebooru based sites","archived":false,"fork":false,"pushed_at":"2023-02-01T20:54:21.000Z","size":396,"stargazers_count":113,"open_issues_count":14,"forks_count":20,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-01T14:18:15.497Z","etag":null,"topics":["api","api-client","danbooru","moebooru","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LuqueDaniel.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-05-29T18:47:32.000Z","updated_at":"2025-06-08T12:46:34.000Z","dependencies_parsed_at":"2023-02-17T11:01:13.941Z","dependency_job_id":null,"html_url":"https://github.com/LuqueDaniel/pybooru","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/LuqueDaniel/pybooru","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuqueDaniel%2Fpybooru","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuqueDaniel%2Fpybooru/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuqueDaniel%2Fpybooru/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuqueDaniel%2Fpybooru/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LuqueDaniel","download_url":"https://codeload.github.com/LuqueDaniel/pybooru/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuqueDaniel%2Fpybooru/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264569437,"owners_count":23629601,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","api-client","danbooru","moebooru","python"],"created_at":"2024-10-11T04:11:30.622Z","updated_at":"2025-07-10T11:03:56.570Z","avatar_url":"https://github.com/LuqueDaniel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pybooru - Package for Danbooru/Moebooru API\n[![PyPI](https://img.shields.io/pypi/v/Pybooru.svg?style=flat-square)](https://pypi.python.org/pypi/Pybooru/)\n[![PyPI](https://img.shields.io/pypi/status/Pybooru.svg?style=flat-square)](https://pypi.python.org/pypi/Pybooru/)\n[![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)](https://raw.githubusercontent.com/LuqueDaniel/pybooru/master/LICENSE)\n[![Documentation Status](https://readthedocs.org/projects/pybooru/badge/?version=stable)](https://pybooru.readthedocs.io/en/stable/?badge=stable)\n\n**Pybooru** is a Python package to access to the API of Danbooru/Moebooru based sites.\n\n- Version: **4.2.2**\n- Licensed under: **MIT License**\n\n## Dependencies\n- Python: \u003e= 2.7 or Python: \u003e= 3.3\n- [requests](http://docs.python-requests.org/en/latest/)\n\n## Installation\n### from Python Package Index (Pypi)\n[Pybooru on Pypi.](https://pypi.python.org/pypi/Pybooru/)\n\n```bash\npip install --user Pybooru\n```\n\n### Manual installation\n```bash\ngit clone git://github.com/luquedaniel/pybooru.git\ncd pybooru\npip install --user -r requirements.txt\nsudo python setup.py build\npython setup.py install\n```\n\n## Examples of use\nSee [More examples](https://github.com/LuqueDaniel/pybooru/tree/master/examples).\n\n### Danbooru\n```python\nfrom pybooru import Danbooru\n\nclient = Danbooru('danbooru')\nartists = client.artist_list('ma')\n\nfor artist in artists:\n    print(\"Name: {0}\".format(artist['name']))\n```\n\n#### Login example\n```python\nfrom pybooru import Danbooru\n\nclient = Danbooru('danbooru', username='your-username', api_key='your-apikey')\nclient.comment_create(post_id=id, body='Comment content')\n```\n\n### Moebooru\n```python\nfrom pybooru import Moebooru\n\nclient = Moebooru('konachan')\nartists = client.artist_list(name='neko')\n\nfor artist in artists:\n    print(\"Name: {0}\".format(artist['name']))\n```\n\n#### Login example\n##### Default sites\n```python\nfrom pybooru import Moebooru\n\nclient = Moebooru('konachan', username='your-username', password='your-password')\nclient.comment_create(post_id=id, comment_body='Comment content')\n```\n\n##### Not default sites\n```python\nfrom pybooru import Moebooru\n\nclient = Moebooru('konachan.com', username='your-username', password='your-password',\n                  hash_string='So-I-Heard-You-Like-Mupkids-?--{0}--')\nclient.comment_create(post_id=id, comment_body='Comment content')\n```\n\n## Documentation\nYou can consult the documentation on **[Read the Docs](https://pybooru.readthedocs.io/)**\n\n## Status\n| Platform       | Master         | Develop |\n| :------------- | :------------- | :------- |\n| [Linux \u0026 OSX (Travis CI)](https://travis-ci.com/LuqueDaniel/pybooru) | [![Travis CI](https://travis-ci.com/LuqueDaniel/pybooru.svg?branch=master)](https://travis-ci.com/LuqueDaniel/pybooru) | [![Travis CI](https://travis-ci.com/LuqueDaniel/pybooru.svg?branch=develop)](https://travis-ci.com/LuqueDaniel/pybooru) |\n| [Windows (AppVeyor)](https://ci.appveyor.com/project/LuqueDaniel/pybooru) | [![AppVeyor](https://img.shields.io/appveyor/ci/luquedaniel/pybooru.svg)](https://ci.appveyor.com/project/LuqueDaniel/pybooru) | [![AppVeyor](https://img.shields.io/appveyor/ci/luquedaniel/pybooru/develop.svg)](https://ci.appveyor.com/project/LuqueDaniel/pybooru) |\n\n## Contributing\nFeel free to contribute, take a look at **[CONTRIBUTING](https://github.com/LuqueDaniel/pybooru/blob/master/CONTRIBUTING.md)**.\n\n## License\n- **[See MIT License](https://github.com/LuqueDaniel/pybooru/blob/master/LICENSE)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluquedaniel%2Fpybooru","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluquedaniel%2Fpybooru","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluquedaniel%2Fpybooru/lists"}