Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pcmc

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pcmc

CoinMarketCap site data scrapper as Pandas dataframes.

  • 0.1.6
  • PyPI
  • Socket score

Maintainers
1

PCMC

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

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.

  • pandas
  • py-term

Changelog

Project history changes.

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

  • [ ]
  • Get symbol list supported by an exchange.
  • Show diff between refreshes.
  • Retrieve prices in BTC currency.
  • CLI interface.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc