semvec/pypi-packages huggingface dataset:
MYgames 0.1
Simple games to play
License: MIT
Requires Python: >=3.5

# Game package info

This is my first simple python package on [PyPi](https://pypi.org/).

You can play some games with this package.

I am not an adult and not a native English speaker so the text can be hard to read. You are welcome to suggest improvements or bug fixes.


# Usage

## rock paper and scissors

Running on terminal or command prompt:


    python3 -m MYgames.rock_paper_scissors

example game when I loosed:

```
Welcome to my game, rock, scisscors and paper.
Choose your weapon below

 rock
 scissors
 paper
: paper
computer:scissors vs you:paper
you loose
play_again? yes/no: no
```

## Memory

Running on terminal or command prompt:


    python3 -m MYgames.memory

## Guess_animal

Running on terminal or command prompt:

      python3 -m MYgames.guess_animal
      
If you get more than 2 score then it will appear a "You are a genius :)" text

# LICENSE

## This project is licensed under MIT

# Changelog

### 0.0.1

First release

### 0.0.2

Failed release so I deleted the release

### 0.0.3

Bug fixes & grammar/spelling fixes

### 0.1

Added game:

Guess_animal
Q-Fin 0.0.13
A Python package for mathematical finance.
License: MIT
Keywords: python,finance

# Q-Fin
A mathematical finance Python library

## Installation
https://pypi.org/project/QFin/
```
pip install qfin
```

# Time Value of Money

# Bond Pricing

# Option Pricing

### <a href="https://medium.com/swlh/deriving-the-black-scholes-model-5e518c65d0bc"> Black-Scholes Pricing</a>
Theoretical options pricing for non-dividend paying stocks is available via the BlackScholesCall and BlackScholesPut classes.

```Python
# 100 - initial underlying asset price
# .3 - asset underlying volatility
# 100 - option strike price
# 1 - time to maturity (annum)
# .01 - risk free rate of interest
euro_call = BlackScholesCall(100, .3, 100, 1, .01)
euro_put = BlackScholesPut(100, .3, 100, 1, .01)
```

```Python
print('Call price: ', euro_call.price)
print('Put price: ', euro_put.price)
```

```
Call price:  12.361726191532611
Put price:  11.366709566449416
```

### Option Greeks
First-order and some second-order partial derivatives of the Black-Scholes pricing model are available.

#### Delta
First-order partial derivative with respect to the underlying asset price.
```Python
print('Call delta: ', euro_call.delta)
print('Put delta: ', euro_put.delta)
```
```
Call delta:  0.5596176923702425
Put delta:  -0.4403823076297575
```

#### Gamma
Second-order partial derivative with respect to the underlying asset price.
```Python
print('Call gamma: ', euro_call.gamma)
print('Put gamma: ', euro_put.gamma)
```
```
Call gamma:  0.018653923079008084
Put gamma:  0.018653923079008084
```

#### Vega
First-order partial derivative with respect to the underlying asset volatility.
```Python
print('Call vega: ', euro_call.vega)
print('Put vega: ', euro_put.vega)
```
```
Call vega:  39.447933090788894
Put vega:  39.447933090788894
```

#### Theta
First-order partial derivative with respect to the time to maturity.
```Python
print('Call theta: ', euro_call.theta)
print('Put theta: ', euro_put.theta)
```
```
Call theta:  -6.35319039407325
Put theta:  -5.363140560324083
```

# Simulation Pricing

### <a href="https://medium.com/swlh/python-for-pricing-exotics-3a2bfab5ff66"> Exotic Options </a>
Simulation pricing for exotic options is available under the assumptions associated with Geometric Brownian motion.

#### Binary Options
```Python
# 100 - strike price
# 50 - binary option payout
# 1000 - number of simulated price paths
# .01 - risk free rate of interest
# 100 - initial underlying asset price
# 0 - underlying asset drift (mu)
# .3 - underlying asset volatility 
# 1/52 - time steps (dt)
# 1 - time to maturity (annum)
binary_call = MonteCarloBinaryCall(100, 50, 1000, .01, 100, 0, .3, 1/52, 1)
binary_put = MonteCarloBinaryPut(100, 50, 1000, .01, 100, 0, .3, 1/52, 1)
```

```Python
print(binary_call.price)
print(binary_put.price)
```

```
22.42462873441866
27.869902820039087
```
# Futures Pricing
uk-covid19 1.2.2
SDK for the COVID-19 API (Coronavirus Dashboard in the UK)
License: MIT
Requires Python: >=3.7
Keywords: API SDK PHE COVID19 COVID-19 coronavirus data UK England Wales Scotland Northern_Ireland United_Kingdom

Coronavirus (COVID-19) in the UK - API Service
==============================================

|PyPi_Version| |PyPi_Status| |Format| |Supported_versions_of_Python| |Language grade: Python| |License|


Software Development Kit (SDK) for Python
-----------------------------------------

This is a Python SDK for the COVID-19 API, as published by Public Health England
on `Coronavirus (COVID-19) in the UK`_.

Documentation
.............

Comprehensive documentations and examples for this library is available on the
`documentations website`_.


SDK for other languages
.......................

Similar libraries are also available for `JavaScript`_, `R`_, `.Net`_, and `Elixir`_.


The API
-------

The API supplies the latest data for the COVID-19 outbreak in the United Kingdom. The
endpoint for the data provided using this SDK is:

::

    https://api.coronavirus.data.gov.uk/v1/data


See the `Developers Guide`_ for additional information on the API and see a list of
latest metrics.


Installation
------------

Python 3.7+ is required to install and use this library.

To install, please run:

.. code-block:: bash

    pip install uk-covid19

You may install the library for a specific version of Python as follows:

.. code-block:: python

    python -m pip install uk-covid19

You can simply replace ``python`` with a specific version for which you wish to install
the library - e.g. ``python3`` or ``python3.8``.





-----------

Developed and maintained by `Public Health England`_.

Copyright (c) 2020, Public Health England.

.. _`Coronavirus (COVID-19) in the UK`: http://coronavirus.data.gov.uk/
.. _`Public Health England`: https://www.gov.uk/government/organisations/public-health-england
.. _`Developers Guide`: https://coronavirus.data.gov.uk/developers-guide
.. _`JavaScript`: https://github.com/publichealthengland/coronavirus-dashboard-api-javascript-sdk
.. _`R`: https://github.com/publichealthengland/coronavirus-dashboard-api-R-sdk
.. _`.Net`: https://github.com/publichealthengland/coronavirus-dashboard-api-net-sdk
.. _`documentations website`: https://publichealthengland.github.io/coronavirus-dashboard-api-python-sdk/
.. _`Elixir`: https://github.com/publichealthengland/coronavirus-dashboard-api-elixir-sdk

.. |PyPi_Version| image:: https://img.shields.io/pypi/v/uk-covid19
.. |PyPi_Status| image:: https://img.shields.io/pypi/status/uk-covid19
.. |Format| image:: https://img.shields.io/pypi/format/uk-covid19
.. |Supported_versions_of_Python| image:: https://img.shields.io/pypi/pyversions/uk-covid19
.. |License| image:: https://img.shields.io/github/license/publichealthengland/coronavirus-dashboard-api-python-sdk
.. |Language grade: Python| image:: https://img.shields.io/lgtm/grade/python/g/publichealthengland/coronavirus-dashboard-api-python-sdk.svg?logo=lgtm&logoWidth=18
   :target: https://lgtm.com/projects/g/publichealthengland/coronavirus-dashboard-api-python-sdk/context:python