Git Product home page Git Product logo

pcmc's Introduction

PCMC

  • Author: Daniel J. Umpierrez
  • License: UNLICENSE
  • Version: 0.1.8

Description

CoinMarketCap Site Scrapper to Pandas Dataframes.

Installation

Using pip command

# `pip` command by supplying the github project repo URL.
$ pip install git+https://github.com/havocesp/pcmc

Usage

CLI

# show accepted arguments
$ pcmc --help
# show 1H gainers filtered by exchanges HITBTC, BINANCE and CRYPTOPIA
$ pcmc --timeframe 1h --filter_by gainers hitbtc binance cryptopia

Project dependencies.

Changelog

Project history changes.

0.1.8

  • Volume filtering now working

0.1.7

  • Code cleanup (less lines, same result and more readable code)

0.1.6

  • New CoinMarketCap class on static.py
  • Some code tidy task accomplished and some typo fixing.

0.1.5

  • Added BeautifulSoap dependence for better scrapping.
  • Removed ccxt, AppDirs, requests, begins and tabulate dependencies.
  • Many new methods added to "CoinMarketCap" class
  • New 'static.py' module to serve as a global constants container.
  • Fixed error on losers 7d and 24h methods.

0.1.4

  • New rate extraction from html code.
  • New "core" function extract_rate for html code rate extraction
  • cryptocmp dependency removed.
  • Some unused CoinMarketCap methods removed.
  • __init__ file __long_description__ error fixed.

0.1.3

  • New utils.py module containing cli.py functions helpers.

0.1.2

  • Many function documentation added (with some "Doctests").
  • Added new function to handle cache data.
  • Screen clear on every update (useful for loop mode).

0.1.1

  • pcmc command added to easy run CLI interface from anywhere.
  • Loop flag and loop interval CLI args added for auto run mode.
  • New BTC price added (calculated from USD one at current BTC ratio)

0.1.0

  • "All" page data.
  • "Gainers and Losers" page.

TODO

  • Coinmarketcap custom "watchlist" page interaction.
  • Get symbol list supported by an exchange.
  • Show diff between refreshes.
  • Retrieve prices in BTC currency.
  • CLI interface.

pcmc's People

Contributors

havocesp avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

pcmc's Issues

Getting an error when asking for time arguments

Even copy and paste example from readme and it gives error

pcmc --timeframe 1h --filter_by gainers hitbtc binance cryptopia
usage: pcmc [-h] [-G | -L] [-t [{}]] [-f [{gainers,losers}]] [-l [LOOP]]
[-m [MINVOL]]
EX [EX ...]
pcmc: error: argument -t/--timeframe: invalid choice: '1h' (choose from )

๐Ÿงš๐Ÿค– Pixeebot Activity Dashboard

DashList

๐Ÿ‘‹ This dashboard summarizes my activity on the repository, including available improvement opportunities.

Recommendations

Last analysis: May 30 | Next scheduled analysis: Jun 06

Open

โœ… Nice work, you're all caught up!

Available

โœ… Nothing yet, but I'm continuing to monitor your PRs.

Metrics

What would you like to see here? Let us know!

Resources

๐Ÿ“š Quick links
Pixee Docs | Codemodder by Pixee

๐Ÿงฐ Tools I work with
Sonar, CodeQL, Semgrep

๐Ÿš€ Pixee CLI
The power of my codemods in your local development environment. Learn more

๐Ÿ’ฌ Reach out
Feedback | Support


โค๏ธ Follow, share, and engage with Pixee: GitHub | LinkedIn | Slack

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.