{"id":46180200,"url":"https://github.com/advnpzn/akipy","last_synced_at":"2026-03-02T19:44:04.398Z","repository":{"id":239271706,"uuid":"799064607","full_name":"advnpzn/akipy","owner":"advnpzn","description":"Python library wrapper for Akinator","archived":false,"fork":false,"pushed_at":"2025-11-08T11:18:45.000Z","size":228,"stargazers_count":13,"open_issues_count":0,"forks_count":8,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-11-08T11:25:36.667Z","etag":null,"topics":["akinator","library","pypi","python","wrapper-library"],"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/advnpzn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-11T04:56:49.000Z","updated_at":"2025-11-08T11:20:46.000Z","dependencies_parsed_at":"2024-05-11T06:24:42.521Z","dependency_job_id":"17e29cfc-f664-4348-843b-c6ef6c0b7e85","html_url":"https://github.com/advnpzn/akipy","commit_stats":null,"previous_names":["advnpzn/akipy"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/advnpzn/akipy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/advnpzn%2Fakipy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/advnpzn%2Fakipy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/advnpzn%2Fakipy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/advnpzn%2Fakipy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/advnpzn","download_url":"https://codeload.github.com/advnpzn/akipy/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/advnpzn%2Fakipy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30016831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T17:00:27.440Z","status":"ssl_error","status_checked_at":"2026-03-02T17:00:03.402Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["akinator","library","pypi","python","wrapper-library"],"created_at":"2026-03-02T19:44:03.735Z","updated_at":"2026-03-02T19:44:04.370Z","avatar_url":"https://github.com/advnpzn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# akipy\n\n[![PyPI version](https://img.shields.io/pypi/v/akipy?color=blue)](https://pypi.org/project/akipy/)\n[![Downloads](https://img.shields.io/pypi/dm/akipy?color=orange)](https://pypi.org/project/akipy/)\n[![Python Version](https://img.shields.io/pypi/pyversions/akipy)](https://pypi.org/project/akipy/)\n[![License](https://img.shields.io/github/license/advnpzn/akipy)](LICENSE)\n[![Repo Size](https://img.shields.io/github/repo-size/advnpzn/akipy?color=yellow)](https://github.com/advnpzn/akipy)\n\nA Python wrapper library for the Akinator game API. Akinator is the popular web-based game that guesses characters you're thinking of by asking a series of questions. This library allows you to integrate Akinator's functionality into your Python applications with both synchronous and asynchronous support.\n\n## Table of Contents\n\n- [Features](#features)\n- [Quick Links](#quick-links)\n- [Installation](#installation)\n- [Usage](#usage)\n- [Contributing](#contributing)\n\n## Features\n\n- Both synchronous and asynchronous API support\n- Context manager support for automatic resource cleanup\n- Type hints for better IDE support\n- Comprehensive error handling with custom exceptions\n- Multiple language support\n- Child mode support\n\n## Quick Links\n\n- [PyPI Package](https://pypi.org/project/akipy/)\n- [GitHub Repository](https://github.com/advnpzn/akipy)\n- [Issues](https://github.com/advnpzn/akipy/issues)\n- [Examples](examples/)\n\n# Installation\n\n`pip install akipy`\n\n# Usage\n\nThere is both synchronous and asynchronous variants of `akipy` available.\n\nSynchronous: `from akipy import Akinator`\n\nAsynchronous: `from akipy.async_akinator import Akinator`\n\nI'll provide a sample usage for synchronous usage of `Akinator`.\nAll the examples are also in the project's examples folder. So please check them out as well.\n\n```python\nimport akipy\n\naki = akipy.Akinator()\naki.start_game()\n\nwhile not aki.win:\n    ans = input(str(aki) + \"\\n\\t\")\n    if ans == \"b\":\n        try:\n            aki.back()\n        except akipy.CantGoBackAnyFurther:\n            pass\n    else:\n        try:\n            aki.answer(ans)\n        except akipy.InvalidChoiceError:\n            pass\n\nprint(aki)\nprint(aki.name_proposition)\nprint(aki.description_proposition)\nprint(aki.pseudo)\nprint(aki.photo)\n```\n\n# Contributing\n\nFor contributing to this library, please check [CONTRIBUTING.md](CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadvnpzn%2Fakipy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadvnpzn%2Fakipy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadvnpzn%2Fakipy/lists"}