lme

London Metal Exchange

https://github.com/tiagocordeiro/lme

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.1%) to scientific vocabulary

Keywords

hacktoberfest hacktoberfest-accepted london-metal-exchange python terminal
Last synced: 6 months ago · JSON representation

Repository

London Metal Exchange

Basic Info
  • Host: GitHub
  • Owner: tiagocordeiro
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 82 KB
Statistics
  • Stars: 5
  • Watchers: 1
  • Forks: 2
  • Open Issues: 11
  • Releases: 3
Topics
hacktoberfest hacktoberfest-accepted london-metal-exchange python terminal
Created almost 9 years ago · Last pushed about 1 year ago
Metadata Files
Readme License

README.md

LME

Cotação London Metal Exchange

Deploy workflow Build Status Updates Python 3 codecov GitHub

Instalando o pacote via pip

$ pip install lme

Instalando via git

$ git clone https://github.com/tiagocordeiro/lme.git

Como rodar o projeto (clonando via git)

  • Clone esse repositório.
  • Crie um virtualenv com Python 3.
  • Ative o virtualenv.
  • Instale as dependências.

git clone https://github.com/tiagocordeiro/lme.git cd lme python3 -m venv venv source venv/bin/activate pip install --upgrade pip pip install -r requirements.txt python contrib/env_gen.py

Utilizando o pacote no terminal

$ python lme/prices.py ╔═════════════════════════════════╦════════════════════╦═════════════════╗ ║ Semana do ano: 07 ║ Início: 17-02-2020 ║ Fim: 21-02-2020 ║ ╚═════════════════════════════════╩════════════════════╩═════════════════╝ Cobre Zinco Aluminio Chumbo Estanho Niquel Dolar Data 2020-02-17 5802.0 2153.5 1678.5 1911.0 16630.0 13070.0 4.3157 2020-02-18 5728.0 2128.0 1681.0 1901.0 16520.0 12880.0 4.3471 2020-02-19 5745.5 2126.5 1686.0 1920.0 16550.0 12700.0 4.3728 2020-02-20 5730.0 2100.0 1687.0 1939.0 16600.0 12685.0 4.3873 2020-02-21 5702.0 2086.5 1677.0 1881.0 16525.0 12440.0 4.3924 ═════════════════════════════════════════════════════════════════════════ Cobre Zinco Aluminio Chumbo Estanho Niquel Dolar Média: 5741.5 2118.9 1681.9 1910.4 16565.0 12755.0 4.36306

Python console

```

from lme.prices import lastweeks lastweeks(2) ... ╔═════════════════════════════════╦════════════════════╦═════════════════╗ ║ Semana do ano: 07 ║ Início: 17-02-2020 ║ Fim: 21-02-2020 ║ ╚═════════════════════════════════╩════════════════════╩═════════════════╝ Cobre Zinco Aluminio Chumbo Estanho Niquel Dolar Data
2020-02-17 5802.0 2153.5 1678.5 1911.0 16630.0 13070.0 4.3157 2020-02-18 5728.0 2128.0 1681.0 1901.0 16520.0 12880.0 4.3471 2020-02-19 5745.5 2126.5 1686.0 1920.0 16550.0 12700.0 4.3728 2020-02-20 5730.0 2100.0 1687.0 1939.0 16600.0 12685.0 4.3873 2020-02-21 5702.0 2086.5 1677.0 1881.0 16525.0 12440.0 4.3924 ═════════════════════════════════════════════════════════════════════════ Cobre Zinco Aluminio Chumbo Estanho Niquel Dolar Média: 5741.5 2118.9 1681.9 1910.4 16565.0 12755.0 4.36306 ```

Testes, contribuição e dependências de desenvolvimento

Para instalar as dependências de desenvolvimento pip install -r requirements-dev.txt

Banco de dados para desenvolvimento com Docker

docker-compose up -d

Para rodar os testes pytest

Para criar um relatório de cobertura de testes. coverage run -m pytest -v coverage html

Verificando o Code style pycodestyle . flake8 .

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Owner

  • Name: Tiago Cordeiro ⚡
  • Login: tiagocordeiro
  • Kind: user
  • Location: Santo André - SP
  • Company: Mulher Gorila

Co-founder and Developer at mulhergorila.com ⚡ferrabras@zbd.gg

GitHub Events

Total
  • Watch event: 1
  • Delete event: 8
  • Issue comment event: 16
  • Push event: 8
  • Pull request event: 18
  • Fork event: 2
  • Create event: 7
Last Year
  • Watch event: 1
  • Delete event: 8
  • Issue comment event: 16
  • Push event: 8
  • Pull request event: 18
  • Fork event: 2
  • Create event: 7

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 96
  • Total Committers: 2
  • Avg Commits per committer: 48.0
  • Development Distribution Score (DDS): 0.49
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
mulhergorila t****o@m****m 49
pyup-bot g****t@p****o 47
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 6
  • Total pull requests: 166
  • Average time to close issues: 4 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 1
  • Total pull request authors: 4
  • Average comments per issue: 0.17
  • Average comments per pull request: 1.62
  • Merged pull requests: 7
  • Bot issues: 0
  • Bot pull requests: 1
Past Year
  • Issues: 0
  • Pull requests: 23
  • Average time to close issues: N/A
  • Average time to close pull requests: 21 days
  • Issue authors: 0
  • Pull request authors: 2
  • Average comments per issue: 0
  • Average comments per pull request: 1.65
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • tiagocordeiro (6)
  • pyup-bot (5)
Pull Request Authors
  • pyup-bot (198)
  • tiagocordeiro (7)
  • ThiagoCAltoe (2)
Top Labels
Issue Labels
bug (2)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 51 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 12
  • Total maintainers: 1
pypi.org: lme

Cotação London Metal Exchange

  • Versions: 12
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 51 Last month
Rankings
Dependent packages count: 10.0%
Downloads: 14.0%
Average: 19.7%
Dependent repos count: 21.8%
Stargazers count: 23.1%
Forks count: 29.8%
Maintainers (1)
Last synced: 6 months ago

Dependencies

requirements-dev.txt pypi
  • coverage ==6.0.2 development
  • flake8 ==4.0.1 development
  • pytest ==6.2.5 development
  • pytest-cov ==3.0.0 development
requirements.txt pypi
  • requests ==2.26.0
  • rich ==10.12.0
setup.py pypi
  • psycopg2 *
  • python-dotenv *
  • quandl *
  • sqlalchemy *
.github/workflows/python-app.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite