RoastedByAI
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
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| roastedbyai-1.3.0.tar.gz | 10.9 kB | Without provenance | Details for roastedbyai-1.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| roastedbyai-1.3.0-py3-none-any.whl | Python 3 | none | any | Details for roastedbyai-1.3.0-py3-none-any.whl |
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
|
Security for roastedbyai 1.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.