semvec/pypi-packages huggingface dataset:
dldr 1.0.1
Download programs from DR TV.
License: MIT
Keywords: dr tv dk download danmarks radio

# dldr

dldr is a tiny command line program for downloading programs from dr.dk/tv. The project is highly inspired by [dldr.brnbw.com](https://github.com/mikker/dldr.brnbw.com) by [@mikker](https://github.com/mikker).

### Installation

You can either download the dldr.py file manually or install it using [HomeBrew](http://brew.sh). I recommend the latter.

**Install DLDR using [HomeBrew](http://brew.sh).**

    Fill in.
 
### Usage

Go to your favorite show on [DR TV](https://www.dr.dk/tv/se/huset-pa-christianshavn/huset-pa-christianshavn-5). Copy the URL. Then run dldr with the URL as an argument.

    $ dldr https://www.dr.dk/tv/se/huset-pa-christianshavn/huset-pa-christianshavn-5

Optionally supply an output directory.

    $ dldr --output ~/Desktop https://www.dr.dk/tv/se/huset-pa-christianshavn/huset-pa-christianshavn-5

By default file name of the programs will be the title of the show, e.g. "Huset på Christianshavn (1)". If you prefer to use the slug as a file name, i.e. "huset-pa-christianshavn-1", supply the `--slug-name` parameter.

For more information, run `$ dldr --help`.
wallstreet 0.1.5
Real-time Stock and Option tools
License: MIT
Keywords: stocks options finance market shares greeks implied volatility real-time

Wallstreet: Real time Stock and Option tools
--------------------------------------------

Wallstreet is a Python library for monitoring and analyzing real time Stock and
Option data. Quotes are provided from the Google Finance API. Wallstreet requires
minimal input from the user, it uses available online data to calculate option
greeks and even scrapes the US Treasury website to get the current risk free rate.


Usage
-----

Stocks:

.. code-block:: Python

  from wallstreet import Stock, Call, Put

  >>> s = Stock('AAPL')
  >>> s.price
  96.44
  >>> s.price
  96.48
  >>> s.change
  -0.35
  >>> s.last_trade
  '21 Jan 2016 13:32:12'

Options:

.. code-block:: Python

  >>> g = Call('GOOG', d=12, m=2, y=2016, strike=700)
  >>> g.price
  38.2
  >>> g.implied_volatility()
  0.49222968442691889
  >>> g.delta()
  0.56522039722040063
  >>> g.vega()
  0.685034827159825
  >>> g.underlying.price
  706.59

Alternative construction:

.. code-block:: Python

  >>> g = Call('GOOG', d=12, m=2, y=2016)
  >>> g
  Call(ticker=GOOG, expiration='12-02-2016')
  >>> g.strikes
  (580, 610, 620, 630, 640, 650, 660, 670, 680, 690, 697.5, 700, 702.5, 707.5, 710, 712.5, 715, 720, ...)
  >>> g.set_strike(712.5)
  >>> g
  Call(ticker=GOOG, expiration='12-02-2016', strike=712.5)

or

.. code-block:: Python

  >>> g = Put("GOOG")
  'No options listed for given date, using 22-01-2016 instead'
  >>> g.expirations
  ['22-01-2016', '29-01-2016', '05-02-2016', '12-02-2016', '19-02-2016', '26-02-2016', '04-03-2016', ...]
  >>> g
  Put(ticker=GOOG, expiration='22-01-2016')


Dependencies
------------

Wallstreet requires to have Scipy, requests and bs4 (BeautifulSoup4) installed.


Stock Attributes
----------------

- ticker
- price
- id
- exchange
- last_trade
- change   (change in currency)
- cp   (percentage change)


Option Attributes and Methods
-----------------------------

- strike
- expiration
- underlying  (underlying stock object)
- ticker
- bid
- ask
- price (option price)
- id
- exchange
- change  (in currency)
- cp  (percentage change)
- volume
- open_interest
- code
- expirations (list of possible expiration dates for option chain)
- strikes (list of possible strike prices)

- set_strike()
- implied_volatility()
- delta()
- gamma()
- vega()
- theta()
- rho()