https://github.com/othonalberto/coeficienteutfpr
Simule o coeficiente com futuras notas
https://github.com/othonalberto/coeficienteutfpr
Last synced: 5 months ago
JSON representation
Simule o coeficiente com futuras notas
- Host: GitHub
- URL: https://github.com/othonalberto/coeficienteutfpr
- Owner: othonalberto
- License: gpl-3.0
- Created: 2017-07-14T13:07:02.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-01-02T23:49:27.000Z (about 8 years ago)
- Last Synced: 2025-03-26T02:34:23.460Z (11 months ago)
- Language: Python
- Size: 32.2 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# coeficiente-UTFPR
## Simule o coeficiente com futuras notas
Arquivo exemplo: `` document.xls ``
Extensões suportadas: xls, xlsx e ods. Graças a [Rows](https://github.com/turicas/rows)
---
Para rodar: (recomendo fortemente o uso de virtualenv)
pip3 install -r requirements.txt
python3 main.py
## Como utilizar
Recomendo salvar as planilhas com as notas em ``/arquivos``
# para ler um documento
notas = documento.Documento('arquivos/nomeArquivo.xls')
# calcular o coeficiente
coef = coeficiente.Coeficiente()
coef.gerar_coeficiente(notas) # quando um documento é importado é necessário passá-lo para a função
# adicionar notas
novaNota = materia.Materia(10, 90)
# gerar coeficiente atualizado
coef.inserir_materia(novaNota)
coef.gerar_coeficiente()
# printar coeficiente
print(coef.retorna_coeficiente())
Em ``main.py`` há um exemplo, da maneira que utilizo.
### ATENÇÃO!
Este projeto foi criado por mim por três motivos:
1. Aprender Python;
2. diversão;
3. ser algo útil para mim.
Portanto, **não há** qualquer ligação com a instituição UTFPR. Qualquer
reclamação/sugestão deve ser direcionada a mim.