semvec/pypi-packages huggingface dataset:
catchment_data_api 0.1.3
API for retrieval of catchment data for land cover and livestock
License: MIT
Requires Python: <4.0,>=3.9

# catchment_data_api
[![license](https://img.shields.io/badge/License-MIT-red)](https://github.com/GOBLIN-Proj/catchment_data_api/blob/0.1.0/LICENSE)
[![python](https://img.shields.io/badge/python-3.9-blue?logo=python&logoColor=white)](https://github.com/GOBLIN-Proj/catchment_data_api)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)

API for retrieval of catchment data for land cover and livestock. The package uses data derived from the [National Landcover Map](https://www.tailte.ie/en/surveying/products/professional-mapping/national-land-cover-map/), 
[the Teagasc Soils Map](https://www.teagasc.ie/environment/soil/soil-maps/) and [LUCAS crop map](https://ec.europa.eu/eurostat/statistics-explained/index.php?title=LUCAS_-_Land_use_and_land_cover_survey).

## Installation

Install from github 

```bash
pip install "cathment_data_api@git+https://github.com/GOBLIN-Proj/catchment_data_api.git@main" 
```

Install from PyPI

```bash
pip install catchment_data_api
```


## Usage

```python 
from catchment_data_api import catchment_data_api

def main():
    api = catchment_data_api.CatchmentDataAPI()
    df = api.get_catchment_livestock_data()

    print(df.head())

    df1 = api.get_catchment_livestock_data_by_catchment_name("blackwater")

    print(df1.head())

    print(api.get_catchment_names())

    df2 = api.get_catchment_livestock_total_pop_by_catchment_name("blackwater")

    print(df2.head())



if __name__ == "__main__":
    main()
```

## Contributing

Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.

## License

`catchment_data_api` was created by Colm Duffy. It is licensed under the terms of the MIT license.

## Credits

`catchment_data_api` was created with [`cookiecutter`](https://cookiecutter.readthedocs.io/en/latest/) and the `py-pkgs-cookiecutter` [template](https://github.com/py-pkgs/py-pkgs-cookiecutter).
copula-sim 0.1.2
A simple Python package for working with Gaussian Copulas
License: MIT
Requires Python: >=3.6

# Copula

`Copula` is a Python library that helps you to create simple simulated sets of copulas

## Features
- denisty function of a gaussian copula given two data sets
- generate samples from a copula, given an empirical cdf

the functions you have access too are:

* copula_density(u, R)
- get the density function of the copula 
- u: multivatiate time series
* copula_likelihood(R_f, u)
- likleyhood function that gives back the likihood function -> used for get_cov 
* get_cov(u_ecdf)
- get back the cov matrix, which was fit with the ML estimation and an optimizer from the scipy package
- needs an empirical cdf as input
* sampling_gaussian_copula(R, n_samples)
- get n samples from a gaussian copula, given a cov matrix (get the cov with the get_cov function)

## Installation

Install via pip:

```bash
pip install copula_sim