Metadata-Version: 2.1
Name: rug
Version: 0.4.1
Summary: Library for fetching various stock data from the internet (official and unofficial APIs).
Home-page: https://github.com/im-n1/rug
License: MIT
Author: Pavel Hrdina, Patrick Roach
Requires-Python: >=3.7,<4.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Topic :: Software Development :: Libraries
Requires-Dist: httpx (>=0.20,<0.21)
Project-URL: Documentation, https://rug.readthedocs.io/en/latest/
Project-URL: Repository, https://github.com/im-n1/rug
Description-Content-Type: text/markdown

# Rug

Universal library for fetching Stock data from the internet - mostly unofficial
APIs - no limits, more free data.

(for Cryptocurrency alternative see [karpet](https://github.com/im-n1/karpet))

* [PyPI](https://pypi.org/project/rug/)
* [documentation](https://rug.readthedocs.io/en/latest/) ![Documentation Status](https://readthedocs.org/projects/rug/badge/?version=latest)

## Changelog

### 0.4.1

- fixed revenues fetching

### 0.4

- new provider BarChart.com

### 0.3

- new provider AlphaQuery.com
- updated imports and class names - now it's i.e. `from rug import Yahoo`

### 0.2.11

- minor fixes

### 0.2.10

- minor fixes

### 0.2.9

- `yahoo.UnofficialAPI.get_current_price()` renamed to `get_current_price_change()`

### 0.2.8

- Added: ex-date is back for dividends

### 0.2.7

- Updated: better dividends handling (i.e. missing data)

### 0.2.6

- Added: exception handling

### 0.2.5

- Fixed TipTanks API - basic info for companies with no dividends

### 0.2.4

- Fixed TipRanks API - dividends for companies with no dividends

### 0.2.3

- Fixed TipRanks API - all methods

### 0.2.2

* Minor fixes.

### 0.2.1

Method `rug.yahoo.UnofficialAPI.get_current_price()` returns market state now.

### 0.2

New portals added: YAHOO! + StockTwits

* `get_current_price()` method added
* `get_earnings_calendar` method added

### 0.1.2
* `get_dividends()` now returns dividend `amount` too

### 0.1.1
* dates are now `datetime.date` instance

### 0.1
* initial release

