Code.py
Code.py e uma biblioteca pioneira para criacao de bots Discord em 2025, 100% brasileira, projetada para ser simples, poderosa e moderna. Com suporte a IA, voz, OAuth2 e interacoes modernas, e ideal para desenvolvedores que querem criar bots inovadores.
Instalacao
Instale via pip:
pip install code-py
Pre-requisitos
- Python: 3.12.7 ou superior
- Dependencias: aiohttp>=3.11.17, redis>=5.2.1, pydub>=0.25.1, pyopus>=0.3.0
Funcionalidades
- Voz Avancada: TTS com ElevenLabs, STT com Whisper, reproducao multimidia (pydub, Opus, VLC).
- IA Integrada: Geracao de texto com Grok (xAI).
- OAuth2 Nativo: Autenticacao fluida.
- Comandos Modernos: Slash commands, autocomplete, sincronizacao incremental.
- Escalabilidade: Sharding, cache com Redis.
Exemplo
from codepy import Code, Inter, Embed, Cmd
bot = Code.criar_bot(prefix="!")
@bot.cmd("ola", desc="Diz ola", opts=[{"nome": "user", "desc": "Usuario", "tipo": "user"}])
async def ola(inter: Inter, user: User):
embed = Embed(tit="Ola", desc=f"Saudacoes, {user.nome}!", cor=0x00FF00)
await inter.resp("Ola!", embed=embed)
Code.rodar(bot, "SEU_TOKEN_AQUI")
Contribuicao
- Fork: github.com/LucasDesignerF/code-py
- Clone, crie uma branch, e envie um Pull Request.
Contato
- Autor: Lucas Dev - RedeBots
- Email: ofc.rede@gmail.com
- Discord: Code Projects by RedeBots
- PyPI: codeco2024
Metadata
Release files for codepy-redebots 1.0.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 |
|---|---|---|---|---|
| codepy_redebots-1.0.0.tar.gz | 12.2 kB | Without provenance | Details for codepy_redebots-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| codepy_redebots-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for codepy_redebots-1.0.0-py3-none-any.whl |
Total release size: 27.5 kB
Release files / codepy_redebots-1.0.0.tar.gz
| Download URL | codepy_redebots-1.0.0.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71b00c0ab26c2d951d1a2a04ac01924e0c739d2f96ae389a4fdd2da242b69127
|
|
BLAKE2b-256 checksum How to use checksums |
9e36bb413b19cbb05c7fd1a4f3e6ce62511a20519cfb732b0bbb360840cf7b40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|
Release files / codepy_redebots-1.0.0-py3-none-any.whl
| Download URL | codepy_redebots-1.0.0-py3-none-any.whl |
|---|---|
| Size | 15.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
de536d8159af623f57d85c3788de8da81635085931154d3ed730e4bcdd5d15e2
|
|
BLAKE2b-256 checksum How to use checksums |
5936bd0ccaddef48651ef8aa7f973b8f768309d6c2ebd55764b3f1ca3452cd82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|
Security for codepy-redebots 1.0.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.