Skip to main content

RoastedByAI

Creative Commons License

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)

pip install roastedbyai

Windows:

python -m pip install roastedbyai

Linux:

python3 -m pip install roastedbyai

Usage

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

Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

Metadata

Release files for roastedbyai 1.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for roastedbyai 1.3.0
File Size Uploaded
roastedbyai-1.3.0.tar.gz 10.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for roastedbyai 1.3.0
File Interpreter ABI Platform
roastedbyai-1.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.9 kB

Release files / roastedbyai-1.3.0.tar.gz

Download URL roastedbyai-1.3.0.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bb3b9033e9a4e8dbdb69581d4a7fd82db12b89a44de880678321e9109a0fb094
BLAKE2b-256 checksum
How to use checksums
dc812244c40f1e9064e29cad45ba21411bf28a59b36054b72722d567c9ff14c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Release files / roastedbyai-1.3.0-py3-none-any.whl

Download URL roastedbyai-1.3.0-py3-none-any.whl
Size 21.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9a76f1f452e77252e489598a9bbb0a17039fb37c73836c89ceca57e958193194
BLAKE2b-256 checksum
How to use checksums
8b9d1bebea00fe7cd5eb721f4590ac45cb6c2e4460c3167e94859b09aa040e1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.7

Release history Release notifications | RSS feed

This release

1.3.0 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page