A set of utility functions for working with GeoJSON annotations in [Kaibu](https://kaibu.org).
Project description
kaibu-geojson-utils
A set of utility functions for working with GeoJSON annotations in Kaibu.
Create a new repository
- Create a new repository and select
imjoy-team/imjoy-python-template
as template repository. - Clone your new repository.
- Search and replace all occurrences of
kaibu-geojson-utils
. Replacekaibu-geojson-utils
with the name of the new repository. - Add package requirements in
install_requires
insetup.py
and inrequirements.txt
as needed. - Update this
README.md
with a description and instructions for your new repository.
Development
-
Install and set up development environment.
pip install -r requirements_dev.txt
This will install all requirements. It will also install this package in development mode, so that code changes are applied immediately without reinstall necessary.
-
Here's a list of development tools we use.
-
It's recommended to use the corresponding code formatter and linters also in your code editor to get instant feedback. A popular editor that can do this is
vscode
. -
Run all tests, check formatting and linting.
tox
-
Run a single tox environment.
tox -e lint
-
Reinstall all tox environments.
tox -r
-
Run pytest and all tests.
pytest
-
Run pytest and calculate coverage for the package.
pytest --cov-report term-missing --cov=kaibu-geojson-utils
-
Continuous integration is by default supported via GitHub actions. GitHub actions is free for public repositories and comes with 2000 free Ubuntu build minutes per month for private repositories.
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
File details
Details for the file kaibu-geojson-utils-0.1.5.tar.gz
.
File metadata
- Download URL: kaibu-geojson-utils-0.1.5.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2fc436a2d3f68e6258d331e693eacc50970c115c490dbcba7d3b4253e3813ba1 |
|
MD5 | 62cdee3f45ba84c22b8016eb20229d5c |
|
BLAKE2b-256 | c2a38f095318c3399088f4f0d2bb8e0ad341d6ce2d646a5666867ccb297cef9d |
File details
Details for the file kaibu_geojson_utils-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: kaibu_geojson_utils-0.1.5-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.8.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9191ba8b369906f062c42409cfc9780d3244b2aa6e25291ce159b473c3f0d0fb |
|
MD5 | 1fce7d28cdab5b2ce8cba145454314f2 |
|
BLAKE2b-256 | 57541122fb0d28dd7ae5c76713128ab1c5444e23d809b66603b2c56b10715db1 |