Algumas Funções úteis para diversas coisas
Project description
setton
Minhas funções, classes e constantes que podem ser extremamente úteis. Algumas foram feitas somente para treino.
Lista:
Funções:
-> jogos_de_sorte.py
+ pedra_papel_tesoura()
+ par_impar()
+ dado(lados)
-> matematica.py
+ primo(numero)
+ primos_ate(numero)
+ maior_primo_ate(numero)
+ somatoria(inicio: int, fim: int, passo: int) -> float
+ somatoria(inicio: int, fim: int) -> float
+ somatoria(fim: int) -> float
+ gera_funcao_quadratica(a: float, b: float, c: float) -> Callable[[float], float]
+ resolve_funcao_quadratica(a: float, b: float, c: float) -> str
+ limite(maximo: float, minimo: float, valor: float) -> float
+ soma_pg(termo_1: float, razao: float, numero_de_termos: int) -> float
+ simplify_polynomial(poly: str)
-> music.py
+ coffin_dance()
+ toca_mp3(caminho)
+ toca_musicas_mp3()
+ do_re_mi_fa()
-> Pygame/others.py
+ grafico_de_linha(surface: pg.Surface, values: list[int, float], cor
+ grafico_cheio(surface: pg.Surface, values: list[int, float], cor
-> tones.py
+ c(oitava=5, duracao=500)
+ d(oitava=5, duracao=500)
+ e(oitava=5, duracao=500)
+ f(oitava=5, duracao=500)
+ g(oitava=5, duracao=500)
+ a(oitava=5, duracao=500)
+ b(oitava=5, duracao=500)
+ csh(oitava=5, duracao=500)
+ dsh(oitava=5, duracao=500)
+ fsh(oitava=5, duracao=500)
+ gsh(oitava=5, duracao=500)
+ ash(oitava=5, duracao=500)
+ sil(mili=300)
+ play(*args)
Classes:
-> manipulacao_de_arquivos.py
+ File
-> matematica.py
+ Forma2D
+ Triangulo(Forma2D)
+ Quadrilatero(Forma2D)
+ Trapezio(Quadrilatero)
+ Paralelogramo(Quadrilatero)
+ Retangulo(Quadrilatero)
+ Quadrado(Retangulo)
+ Circulo(Forma2D)
+ Forma3D
+ PrismaRetangular(Forma3D)
+ AlgarismosRomanos
+ CelsiusFahrenheit
+ RadianosGraus
-> Pygame/collisions.py
+ CollisionDetector
-> Pygame/hitboxes.py
+ Rect
+ Circle
-> Pygame/__init__.py
+ DefaultGame
-> tones.py
+ Sound
Constantes:
-> constantes.py
+ A_ESPECIAL
+ E_ESPECIAL
+ I_ESPECIAL
+ O_ESPECIAL
+ U_ESPECIAL
+ VOGAIS
+ CONSOANTES
+ BACKSLASH
+ CODABLE
+ MORSE_MINUSCULO
+ MORSE_MAIUSCULO
+ MORSE_ESPECIAL
+ MORSE_COMPLETO
+ MESES
+ ADJACENTES_TECLADO
-> matematica.py
+ GUGOL
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
setton-2.0.tar.gz
(4.2 kB
view details)
Built Distribution
setton-2.0-py3-none-any.whl
(23.2 kB
view details)
File details
Details for the file setton-2.0.tar.gz
.
File metadata
- Download URL: setton-2.0.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57a05519416efe6f0423443348c1e91cf2d986f76743954c20327caca7d0fe0c |
|
MD5 | 4c293529b328505dcf74cbb6299f2fb9 |
|
BLAKE2b-256 | b6dbb5d07d06194ccdd90bb2f201856977cdd88b41f6f359fdea859ddeeec48d |
File details
Details for the file setton-2.0-py3-none-any.whl
.
File metadata
- Download URL: setton-2.0-py3-none-any.whl
- Upload date:
- Size: 23.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a8644b08060acd0419411083f73291a61eb0773a3b420440e59c3d43ca7b6b5 |
|
MD5 | cb002c8b0994e71dd245c1d7a1c63d53 |
|
BLAKE2b-256 | 91027f18432c2dd02676aae62f6ea890b6224f161310bd65307b300d4f7e4533 |