Py-NEONutilities
This project is a heavy work in progress to write a native python wrapper for the NEON data platform.
It aims to provide the functionality of the NEONutilities R package
without the overhead of having to manage rpy.
Installation
You can install this package from pypi with pip install py-neonUtils
Please see the pypi branch for downloads.
Usage:
Observational Data
from neonUtilities.NeonObservational import NeonObservational
import pandas as pd
neonobj = NeonObservational(dpID="DP1.10003.001", site=["WOOD"], dates=["2015-07",["2017-07","2017-12"]], package="basic")
#Download data from 2015-07 and the range of 2017-07 to 2017-12.
neonobj.download()
neonobj.stackByTable()
df = neonobj.to_pandas()
Instrumental Data
from neonUtilities.NeonObservational import NeonObservational
import pandas as pd
neonobj = NeonInstrumental(dpID="DP1.10003.001", site=["WOOD"], dates=["2015-07",["2017-07","2017-12"]], avg=30, package="basic")
neonobj.download()
neonobj.stackByTable()
df = neonobj.to_pandas()
This module offers a lot of flexibility with month-chunk downloads. You can provide:
- A single string to download that chunk for all sites
- A list of strings to download those chunks for all sites
- Either a nested list or a nested tuple of dates to download that range inclusive,inclusive
- Any combination of 2 and 3
- A dictionary with sites as keys and number any date definition above to download different month chunks for different sites.
Progress
- Observational data
- Download data zips
- Table stacking
- Support for READMEs, EML and variables files
- Instrumental data
- Download specific average intervals
- AOP data
- EC data
- Taxon data manip
- API token
- package for pypi (check the pypi branch)
Metadata
Release files for py-neonUtilities 0.5.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| py-neonUtilities-0.5.4.tar.gz | 7.8 kB | Without provenance | Details for py-neonUtilities-0.5.4.tar.gz |
Release files / py-neonUtilities-0.5.4.tar.gz
| Download URL | py-neonUtilities-0.5.4.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f438ee8759fec5c99438b9929b89c90b7bde10d10f30ff2ed001e8ffd322c45e
|
|
BLAKE2b-256 checksum How to use checksums |
1dab7b65d457fa7934105dae432e22dd93a3119f56aade1b7d532eff3a11af6b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Security for py-neonUtilities 0.5.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.