Pyncei

Latest version: v1.0

Safety actively analyzes 623760 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0

-------

Added

- Added `NCEIResponse` class to handle responses from the API and
output results to csv or a pandas DataFrame
- Added tests

Changed

- Renamed `NCEIReader` to `NCEIBot`
- Renamed method kwargs to match names used by NCEI
- Query parameters are no longer validated locally by default. Set the
`validate_params` attribute to True to re-enable this behavior.
- Added url and retrieval date and time to data returned by the
various get methods
- Users can now specify the path to a cache file when creating an
`NCEIBot` object
- Info and debug messages now use the logging module instead of print
- Revised project documentation

Removed

- Removed convenience get methods (for example, `get_dataset()`) that
returned data for a single entity. Pass an id argument to the get
functions (for example, `get_datasets()`) to achieve the same
result.
- Removed count kwarg from get methods. Use the `count()` method on an
NCEIResponse instead to get a count of records returned so far. Use
the `total()` method to get a count of the total number of records
available for the current query.
- Removed `find_in_endpoint()`, `find_all()`, and `map_name()`
methods. The `find_ids()` method replaces all three methods.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.