GithubHelp home page GithubHelp logo

isabella232 / cookiecutter-spatial-data-science Goto Github PK

View Code? Open in Web Editor NEW

This project forked from esri/cookiecutter-spatial-data-science

0.0 0.0 0.0 43.71 MB

A project template for spatial data science projects marrying best practices from the respective disciplines of Geography and Artificial Intelligence.

License: Apache License 2.0

Python 70.81% Makefile 10.08% Batchfile 11.93% Jupyter Notebook 7.18%

cookiecutter-spatial-data-science's Introduction

Cookiecutter-Spatial-Data-Science

Cookiecutter-Spatial-Data-Science strives to streamline and promote use of best practices for projects combining Geography and Data Science through a logical, reasonably standardized, and flexible project structure.

Cookiecutter-Spatial-Data-Science project grew out of a need within the Advanced Analytics team at Esri to streamline project bootstrapping, encourage innovation, increase repeatability, encourage documentation, and encourage best practices.

Requirements

> conda install -c conda-forge cookiecutter

To start a new project, run:

> cookiecutter https://github.com/esri/cookiecutter-spatial-data-science

Using Make - common commands

Based on the pattern provided in the Cookiecutter Data Science template by Driven Data this template streamlines a number of commands using the make command pattern.

  • make env - builds the Conda environment with all the name and dependencies from environment_dev.yml and installs the local project package using the command python -m pip install -e ./src/src/<project_package> so you can easily test against the package as you are developing it.

  • make env_clone - designed for environments using the default Conda instance installed with ArcGIS Pro. It is similar to make env, except this command clones the arcgispro-py3 environment. Otherwise, it still installs the packages listed in environment_dev.yml and installs the local package using pip as described above.

  • make docs - builds Sphinx docs based on files in ./docsrc/source and places them in ./docs. This enables easy publishing in the master branch in GitHub.

  • make test - activates the environment created by the make env or make env_clone and runs all the tests in the ./testing directory using PyTest. Alternately, if you prefer to use TOX for testing (my preference), there is a tox.ini file included as well. The dependencies (tox and tox-conda) for using TOX are included in the default requirements. By default, the TOX file creates an environment from the environment.yml file using much fewer dependencies than the *_dev.yml files.

BumpVersion Cliff Notes

Bump2Version is preconfigured based on hints from this article on Medium.

If you want to...

  • apply a patch, bumpversion patch
  • update version with no breaking changes (minor version update), bumpversion minor
  • update version with breaking changes (major version update), bumpversion major
  • create a release (tagged in vesrion control - Git), bumpversion --tag release

Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

Contributing

Esri welcomes contributions from anyone and everyone. Please see our guidelines for contributing.

Licensing

Copyright 2020 Esri

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

A copy of the license is available in the repository's LICENSE file.

cookiecutter-spatial-data-science's People

Contributors

dwilson1988 avatar esride-jts avatar knu2xs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.