# PythonGPT
This is a library for integrating ChatGPT into your python program, it is still currently under experiment
# How to use it
Remember that both dunder methods are required
```
from PythonGPT import Idea
class ThirdPartyLibraries(Idea):
name = "name of the third party library"
class LanguageType(Idea):
is_interpreted = "true if the language is interpreted"
class Python(Idea):
__name__ = "programming language"
__about__ = "a programming language called python"
most_common_implementation = "name of the most common implementation of python"
language_type = LanguageType
builtin_functions = ["list of built-in functions"]
third_party_libraries = [ThirdPartyLibraries]
if __name__ == "__main__":
python = Python.think()
print("Python has these builtin functions:",*python.builtin_functions)
print(python.most_common_implementation,"is the most common implementation of python")
print("Is python intepreted?",python.language_type.is_interpreted)
```
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/Divide_Et_Impera/PythonGPT",
"name": "PythonGPT",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python,chatgpt,openai",
"author": "Divide Et Impera",
"author_email": "",
"download_url": "",
"platform": null,
"description": "# PythonGPT\n\nThis is a library for integrating ChatGPT into your python program, it is still currently under experiment\n\n# How to use it\n\nRemember that both dunder methods are required\n\n```\nfrom PythonGPT import Idea\n\n\nclass ThirdPartyLibraries(Idea):\n\tname = \"name of the third party library\"\n\nclass LanguageType(Idea):\n\tis_interpreted = \"true if the language is interpreted\"\n\nclass Python(Idea):\n\t__name__ = \"programming language\"\n\t__about__ = \"a programming language called python\"\n\tmost_common_implementation = \"name of the most common implementation of python\"\n\tlanguage_type = LanguageType\n\tbuiltin_functions = [\"list of built-in functions\"]\n\tthird_party_libraries = [ThirdPartyLibraries]\n\nif __name__ == \"__main__\":\n\tpython = Python.think()\n\tprint(\"Python has these builtin functions:\",*python.builtin_functions)\n\tprint(python.most_common_implementation,\"is the most common implementation of python\")\n\tprint(\"Is python intepreted?\",python.language_type.is_interpreted)\n\n```\n\n\n",
"bugtrack_url": null,
"license": "GPL v3",
"summary": "Simple library for integrating ChatGPT into your project",
"version": "0.2",
"split_keywords": [
"python",
"chatgpt",
"openai"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1a2c4edbfcb514b56525c5bfa4c8861070dc9bc2be6084a350730f9e98120a03",
"md5": "764a902771ade8857e5dd6f187c9ae0e",
"sha256": "d3f0ce4d1573120a4da20cdbf57ba6fa2fde209c0a5f3252dbf7496437824530"
},
"downloads": -1,
"filename": "PythonGPT-0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "764a902771ade8857e5dd6f187c9ae0e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 15180,
"upload_time": "2023-04-16T10:51:58",
"upload_time_iso_8601": "2023-04-16T10:51:58.846493Z",
"url": "https://files.pythonhosted.org/packages/1a/2c/4edbfcb514b56525c5bfa4c8861070dc9bc2be6084a350730f9e98120a03/PythonGPT-0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-04-16 10:51:58",
"github": false,
"gitlab": true,
"bitbucket": false,
"gitlab_user": "Divide_Et_Impera",
"gitlab_project": "PythonGPT",
"lcname": "pythongpt"
}