Skip to main content

# PCMC

  • Author: Daniel J. Umpierrez

  • License: UNLICENSE

  • Version: 0.1.6

## Description

CoinMarketCap Site Scrapper to Pandas Dataframes.

## Installation ### Using pip command

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

## Usage

### CLI

`sh # 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.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.

  • [x] Retrieve prices in BTC currency.

  • [x] CLI interface.

Metadata

Release files for pcmc 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for pcmc 0.1.6
File Interpreter ABI Platform Actions
pcmc-0.1.6-py3-none-any.whl Python 3 none any Details for pcmc-0.1.6-py3-none-any.whl

Release files / pcmc-0.1.6-py3-none-any.whl

Download URL pcmc-0.1.6-py3-none-any.whl
Size 12.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
723d0b5e274d4da797611fe09d42095c3a4be9af08d19c12fa12e9129686cce9
BLAKE2b-256 checksum
How to use checksums
df78f050a8159a1aa3eaf1e4a2aa37da4044211a781ee7c374f04c26b3787e94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.10.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.7

Security for pcmc 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.6 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page