Python library to handle database ingest of geospatial track (and other) data
Project description
Code coverage
We're aiming for 100% code coverage on the project, track our progress here:
Online documentation
Code Style
It is suggested to install a pre-commit hook in order to apply Black before pushing commits:
pip install pre-commit
pre-commit install
Jupyter demo
Link to working demo of datafile import:
Work in progress
View the project Kanban board here
Setup
To prepare for running ensure these tools and packages are installed:
- Python 3 - at least Python 3.6.4 or later
- SQL Alchemy 1.3
For Postgres support and unit tests these packages are also required:
- geoalchemy2
- psycopg2
- nose2 (0.9.1)
Dependencies
Install the python dependencies with: pip install -r requirements.txt
Was: To install packages use pip install <package>
or py -3 -m pip install <package>
depending on your installation
Unit tests
- Run the unit test suite with:
coverage3 run -m unittest discover -v
- View the unit test coverage with:
coverage report
Command Line Instructions
To run from the command line go to the top level directory of the library in your bash shell or terminal program
Run by specifying the program as a module with -m
and leaving off the .py file extension
The exact executable name for invoking python will depend how you have it installed, but most commonly it's just python
For example run the Sqlite example using:
python -m Experiments.DataStore_sqliteExperiment
IntelliJ Instructions
To run from inside IntelliJ open the project
Mark the Store
package as source by right clicking on the directory and selecting Mark Directory as -> Source Root
Open any python module you want to run in the main editor window, right click anywhere in the editor and choose the Run
or Debug
option
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pepys_import-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | efd704c4eeed77c82a3f31d07845656f8b7f45ab5a581292cb70af17bd780df3 |
|
MD5 | 660db601a73ab0ce301652f7cd770f9b |
|
BLAKE2b-256 | ae0cbdd2143f9a2701781cc6fb9597e9f2050894a1db1dc1687824d321781dd5 |