-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7a49aef
Showing
21 changed files
with
2,615 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[run] | ||
omit = | ||
tests/*.py | ||
*/_version.py | ||
source = | ||
dask_geopandas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dask_geopandas/_version.py export-subst |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.hypothesis | ||
*.py[cod] | ||
__pycache__/ | ||
*.egg-info | ||
dask-worker-space/ | ||
docs/build | ||
build/ | ||
dist/ | ||
.idea/ | ||
log.* | ||
log | ||
.pytest_cache/ | ||
.coverage | ||
.DS_Store | ||
*.swp | ||
*.swo | ||
.cache/ | ||
.ipynb_checkpoints | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
repos: | ||
- repo: https:/ambv/black | ||
rev: stable | ||
hooks: | ||
- id: black | ||
language_version: python3.7 | ||
|
||
- repo: https://gitlab.com/pycqa/flake8 | ||
rev: 3.7.9 | ||
hooks: | ||
- id: flake8 | ||
language_version: python3.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
language: generic | ||
sudo: false | ||
dist: trusty | ||
os: linux | ||
|
||
_base_envs: | ||
- &test TEST='true' | ||
- &test_and_lint TEST='true' LINT='true' | ||
- &no_coverage COVERAGE='false' | ||
|
||
jobs: | ||
fast_finish: true | ||
include: | ||
- env: &py36_env | ||
- PYTHON_VERSION=3.6 | ||
- ENV_FILE=continuous_integration/travis/travis-36.yaml | ||
- *test | ||
- *no_coverage | ||
|
||
- env: &py37_env | ||
- PYTHON_VERSION=3.7 | ||
- ENV_FILE=continuous_integration/travis/travis-37.yaml | ||
- *test_and_lint | ||
- *no_coverage | ||
|
||
- env: &py38_env | ||
- PYTHON_VERSION=3.8 | ||
- ENV_FILE=continuous_integration/travis/travis-38.yaml | ||
- *test | ||
- *coverage | ||
|
||
install: | ||
- if [[ $TEST == 'true' ]]; then source continuous_integration/travis/install.sh; fi | ||
|
||
script: | ||
- if [[ $TEST == 'true' ]]; then source continuous_integration/travis/run_tests.sh; fi | ||
- if [[ $LINT == 'true' ]]; then python -m pip install flake8 ; flake8 dask; fi | ||
- if [[ $LINT == 'true' ]]; then python -m pip install black ; black dask --check; fi | ||
|
||
after_success: | ||
- codecov | ||
- source continuous_integration/travis/after_success.sh | ||
|
||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Dask is a community maintained project. We welcome contributions in the form of bug reports, documentation, code, design proposals, and more. | ||
|
||
Also for general information on how to contribute to Dask projects see https://docs.dask.org/en/latest/develop.html. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
Copyright (c) 2020, Dask Developers | ||
All rights reserved. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
1. Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
|
||
2. Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
3. Neither the name of the copyright holder nor the names of its contributors | ||
may be used to endorse or promote products derived from this software | ||
without specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE | ||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR | ||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER | ||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, | ||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | ||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
recursive-include dask_geopandas *.py | ||
recursive-include dask_geopandas *.yaml | ||
|
||
include versioneer.py | ||
include setup.py | ||
include README.rst | ||
include LICENSE | ||
include dask_geopandas/_version.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
dask-geopandas | ||
============ | ||
|
||
Parallel GeoPandas with Dask | ||
|
||
|
||
This is a new project that builds off the exploration done in | ||
https:/mrocklin/dask-geopandas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
if [[ $COVERAGE == 'true' ]]; then | ||
coverage report --show-missing | ||
python -m pip install coveralls | ||
coveralls | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
set -xe | ||
|
||
#!/usr/bin/env bash | ||
# Install miniconda | ||
wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh | ||
bash miniconda.sh -b -p $HOME/miniconda | ||
export PATH="$HOME/miniconda/bin:$PATH" | ||
export BOTO_CONFIG=/dev/null | ||
conda config --set always_yes yes --set changeps1 no --set remote_max_retries 10 | ||
|
||
# Create conda environment | ||
conda env create -q -n test-environment -f $ENV_FILE | ||
source activate test-environment | ||
|
||
# Install | ||
python -m pip install --quiet --no-deps -e . | ||
echo conda list | ||
conda list | ||
|
||
set +xe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
if [[ $COVERAGE == 'true' ]]; then | ||
echo "coverage run `which py.test`" | ||
coverage run `which py.test` | ||
else | ||
echo "py.test tests -v" | ||
py.test tests -v | ||
fi | ||
|
||
set +e |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: test-environment | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
# required dependencies | ||
- python=3.6 | ||
- dask | ||
- distributed | ||
- geopandas | ||
# test dependencies | ||
- pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: test-environment | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
# required dependencies | ||
- python=3.7 | ||
- dask | ||
- distributed | ||
- geopandas | ||
# test dependencies | ||
- pytest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: test-environment | ||
channels: | ||
- conda-forge | ||
dependencies: | ||
# required dependencies | ||
- python=3.8 | ||
- dask | ||
- distributed | ||
- geopandas | ||
# test dependencies | ||
- pytest |
Empty file.
Oops, something went wrong.