Releases: ODM2/ODM2PythonAPI
v0.7.2
Bug fixes, fixes to tests and test databases, documentation overhaul, new sample notebooks, coding standards (PEP8) improvements. See #165 and https://github.com/ODM2/ODM2PythonAPI/milestone/3
Bug fixes
Test infrastructure
- #171, Updated odm2api module path calls in tests/test_odm2 modules to remove deprecated use of ODM2 module hierarchy
- #169, Fixed many messy (bad/invalid) datetime strings in the
tests/test_odm2/data/populated.sql
test SQLite database ddl, that were leading to test failures and also impacted #158 - Addressed other test warnings
Documentation
v0.7.1
The major new feature in this release is a package module hierarchy refactoring to remove (deprecate) the "ODM2" package hierarchy that's no longer useful (#146, addressed in #147). The old hierarchy will still be supported for some time, but its use generates deprecation warnings; it will be dropped in a future release.
We also moved the conda
package for this library from the odm2
conda channel to conda-forge
(#148)
Documentation was updated to reflect these changes:
- #151 Updated README to reflect changes to conda-forge channel and how to install the latest development version.
- #153 Update sphinx documentation to reflect new module hierarchy.
New Feature
- #143 Added eager loading for
samplingfeaturedataset
to reduce query response time.
v0.7.0
Major new release, including a new Sphinx-based documentation system, important enhancements, and bug fixes. Includes commits primarily from USU and UW.
New Sphinx-based documentation system
- #99 Created a Sphinx based Documentation, http://odm2.github.io/ODM2PythonAPI/. Updated automatically using Travis CI, and leveraging code doc strings
- #98 Improved documentation to follow Google doc style. Enhanced and refactored many docstrings (Still Ongoing)
Other Enhancements
- #121 Created
getSamplingFeatureDatasets
, then updated the structure of the object that is returned (#125) - #122 Created
getDatasetsResults
and ImprovedgetDatasets
- #123 Improved
getResults
- #127 Pandas Dataframe returned by
getResultValues
andgetDatasetsValues
now can optionally return column names in the original ODM2 CamelCase form. While the default continues to be lowercase, this default behavior will be deprecated in an upcoming future release in favor of CamelCase as default. - #111 Python 3 Compatibility and Flake 8 Improvements
- Improved unit testing
Bug fixes
0.6.0 Alpha
Release includes the following fixes:
- Remove Geoalchemy dependency
- Cleanup odm1 code
- Improve documentation
0.5.3 Alpha
Release includes the following fixes:
- Cleans up the inheritance of the models, there used to be duplicates of some of the data from the base class.
removes calls to the ODM1.1.1 in the Session Factory Class - Alters the db connection settings to prevent a connection from timing out when it has been open for a long period of time (like through wofpy)
- Adds better functionality for querying specimen datatypes through get related features, get results, and get result values.
- Cleans up the update/delete/create functions. SQL alchemy keeps these simple, every function is the same, basically you send in the object you want to change/delete/add and it takes care of it for you.
- fleshes out some of the get queries. they were missing needed parameters, or were throwing errors.
- Set up getResultValues to return a pandas dataframe, no matter what type of Result
- Fix a misnamed object relationship in Annotations object
0.5.2 Alpha
0.5.1 Alpha
0.5.0 Alpha
A python-based programmer's interface for the Observations Data Model 2 ( ODM2) This is the 2nd alpha release:
It contains the following features:
- Model object Inheritance
- Model object init functions
- revised and cleaned up set of commonly used queries
- cleaned up code
It is still missing:
- Geometry Support
0.1.0 Alpha
A Python-based application programmer's interface for the Observations Data Model 2 (ODM2)
This is the first Beta release.
It contains the following features:
- SqlAlchemy Objects for most of the ODM2 tables
- Support for MSSQL, MySQL, PostgreSQL and SQLite
- Set of commonly used queries
It is missing:
- Feature Geometry support