Skip to main content

catchment_data_api

license python Code style: black

API for retrieval of catchment data for land cover and livestock. The package uses data derived from the National Landcover Map, the Teagasc Soils Map and LUCAS crop map.

Installation

Install from github

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

Install from PyPI

pip install catchment_data_api

Usage

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 and the py-pkgs-cookiecutter template.

Release files for catchment_data_api 0.1.1

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

Source distribution (sdist)

Source distribution for catchment_data_api 0.1.1
File Size Uploaded
catchment_data_api-0.1.1.tar.gz 359.7 kB Details

Built distribution (wheel)

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

Total release size: 720.6 kB

Release files / catchment_data_api-0.1.1.tar.gz

Download URL catchment_data_api-0.1.1.tar.gz
Size 359.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2cdf1c0ff1f278782965ac09bedb643273a6fe4bc2a2f930753346331c9f3846
BLAKE2b-256 checksum
How to use checksums
7673f6dd85062e2bc2d81ea06a5bd7b49bfaa30afb9919d1e861183feb588e2e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.10.0 Linux/5.15.0-106-generic

Release files / catchment_data_api-0.1.1-py3-none-any.whl

Download URL catchment_data_api-0.1.1-py3-none-any.whl
Size 360.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f025a7f66e9c89eabf9078f83b5eb6ac6a852eeb2f40fe77cb74a232fedcd1d
BLAKE2b-256 checksum
How to use checksums
a23fbb6ea1b13b176b85e53e0ad8d350b2f16ff8683636695ed7efa6090b521d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.10.0 Linux/5.15.0-106-generic

Release history Release notifications | RSS feed

0.1.3

2 release files

0.1.2

2 release files

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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