Metadata-Version: 2.1
Name: roastedbyai
Version: 1.3.0
Summary: A package to roast and get roasted by AI.
Home-page: https://github.com/jvherck/roastedbyai
Author: jvherck
Author-email: jan@vhjan.me
Maintainer: jvherck
Maintainer-email: jan@vhjan.me
License: CC BY-NC-SA 4.0
Project-URL: Documentation, https://github.com/jvherck/roastedbyai
Project-URL: Source, https://github.com/jvherck/roastedbyai
Project-URL: Tracker, https://github.com/jvherck/roastedbyai/issues
Keywords: python,ai,roasting,roasted,roast,roastedbyai
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Other Audience
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: License :: Free for non-commercial use
Classifier: Topic :: Games/Entertainment
Classifier: Topic :: Other/Nonlisted Topic
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
License-File: LICENSE.html
License-File: LICENSE.md

# RoastedByAI
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a>

This is an *unofficial* Python package for https://roastedby.ai to roast and get roasted by AI.


---


## How to install
Install the package using one of these pip commands (they both 
install the same package, the first command just does not always 
work properly on all devices, the second one should always work)

```shell
pip install roastedbyai
```
Windows:
```shell
python -m pip install roastedbyai
```
Linux:
```shell
python3 -m pip install roastedbyai
```


---


## Usage

```python
from roastedbyai import Conversation, Style

convo = Conversation(Style.valley_girl)

user_input = input("Start by roasting the AI:\n>>> ")
response1 = convo.send(user_input)
print(response1)

user_input = input("\nRoast the AI again:\n>>> ")
response2 = convo.send(user_input)
print(response2)

convo.kill()
# This step isn't necessary, the moment you don't use the `convo` object
# anymore, python will automatically handle it

print("\n---\nHistory:\n")
for msg in convo.history:
    print(msg["role"], msg["content"], sep=": ")
```


---


## Contributing
Feel free to open Pull Requests with new features, improvements or fixes.


---


## Disclaimer/Credits
I am not affiliated with https://roastedby.ai, all credits for the AI go to them.


---


## License
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-nc-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License</a>.

