{"id":37709027,"url":"https://github.com/primal-coder/charactor","last_synced_at":"2026-01-16T13:13:46.799Z","repository":{"id":204325506,"uuid":"711581823","full_name":"primal-coder/CharActor","owner":"primal-coder","description":"CharActor is a python module for creating rpg character objects.","archived":false,"fork":false,"pushed_at":"2024-07-04T05:05:18.000Z","size":837,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-05T01:22:18.627Z","etag":null,"topics":["actor","character-controller","character-creation","character-generation","character-sheet","charactor","chargrid","dicepy","entyty","grid","gridengine","roleplaying-game","rpg"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/CharActor","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/primal-coder.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-10-29T17:46:15.000Z","updated_at":"2024-07-04T05:05:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"e9da9ac3-d19e-4d64-8c8c-53fea8d5e5ad","html_url":"https://github.com/primal-coder/CharActor","commit_stats":{"total_commits":24,"total_committers":2,"mean_commits":12.0,"dds":"0.33333333333333337","last_synced_commit":"ccee1d31c4e2aff77320c6632d38976e65045226"},"previous_names":["primal-coder/charactor"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/primal-coder/CharActor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primal-coder%2FCharActor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primal-coder%2FCharActor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primal-coder%2FCharActor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primal-coder%2FCharActor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/primal-coder","download_url":"https://codeload.github.com/primal-coder/CharActor/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/primal-coder%2FCharActor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":["actor","character-controller","character-creation","character-generation","character-sheet","charactor","chargrid","dicepy","entyty","grid","gridengine","roleplaying-game","rpg"],"created_at":"2026-01-16T13:13:46.742Z","updated_at":"2026-01-16T13:13:46.794Z","avatar_url":"https://github.com/primal-coder.png","language":"Python","funding_links":["https://www.buymeacoffee.com/primalcoder"],"categories":[],"sub_categories":[],"readme":"# CharActor\n\n### Description\n\nCharActor provides a convenient collection of character-based operations. It allows you to easily create, modify and employ characters in a variety of different ways.\n\n### Installation\n\n```bash\npip install CharActor\n```\n\n## Usage\n\n```python\nfrom CharActor import character_bank, create\n\n# Create a randomized character\ncharacter = create()\n\n# Create a character with a specific name\ncharacter = create(name='John Doe')\n\n# Create a character with a specific object name, character name, race, role, background and alignment\ncharacter = create('my_character', 'John Doe', 'Human', 'Fighter', 'Noble', 'Lawful Good')\n\n# Access any of the characters\nmy_character = character_bank.my_character\n\n# Access any of the characters' attributes\nmy_character.name # 'John Doe'\nmy_character.Strength # Str: 17 (+3)\n```\n\n## Characters\n\nA character object contains a variety of attributes/methods which tend to differ from character to character.\n\n### Attributes\n\n* name\n* _role (e.g my_character.Fighter)\n* _race (e.g my_character.Human)\n* _background (e.g my_character.Noble)\n* _alignment (e.g my_character.LawfulGood)\n* age\n* Strength\n* Dexterity\n* Constitution\n* Intelligence\n* Wisdom\n* Charisma\n* actions\n* armor_class\n* character_sheet (e.g print(my_character.character_sheet))\n* entity_id\n* experience\n* hp\n* initiative\n* inventory\n* level\n* saving_throws\n* skill_points\n* skillbook\n* speed\n* target\n\n### Methods\n\n* attack\n* look_around\n* move\n* pickup\n* saving_throw\n* end_turn\n\n## Character Bank\n\nThe character bank is a collection of all the characters that have been created. It is a dictionary of character objects, with the key being the name of the character. More conveniently, the character bank also allows you to access the characters as attributes. A saving system(using python's pickle) is currently under development. Until then your character's are only saved for the duration of the program.\n\n```python\nfrom CharActor import character_bank, create\n\n# Create a character\ncharacter = create('my_character')\n\n# Access the character\nmy_character = character_bank.my_character\nprint(my_character.character_sheet)\n```\n\n\n## Contributing\n\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\n## License\n\n[MIT](https://choosealicense.com/licenses/mit/)\n\n## Support\n\nIf you like this project or are just feeling generous, consider buying me a coffee.\n\n[buymeacoffee](https://www.buymeacoffee.com/primalcoder)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimal-coder%2Fcharactor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprimal-coder%2Fcharactor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprimal-coder%2Fcharactor/lists"}