-
Notifications
You must be signed in to change notification settings - Fork 1
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 d8aadd2
Showing
35 changed files
with
1,618 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,34 @@ | ||
[bumpversion] | ||
current_version = 0.1.0-dev | ||
commit = False | ||
tag = False | ||
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>\w+))? | ||
serialize = | ||
{major}.{minor}.{patch}-{release} | ||
{major}.{minor}.{patch} | ||
|
||
[bumpversion:part:release] | ||
optional_value = placeholder | ||
values = | ||
dev | ||
placeholder | ||
|
||
[bumpversion:file:VERSION] | ||
search = {current_version} | ||
replace = {new_version} | ||
|
||
[bumpversion:file:src/dask_elasticsearch/__init__.py] | ||
search = __version__ = '{current_version}' | ||
replace = __version__ = '{new_version}' | ||
|
||
[bumpversion:file:.cookiecutterrc] | ||
search = version: {current_version} | ||
replace = version: {new_version} | ||
|
||
[bumpversion:file:HISTORY.rst] | ||
search = .. comment:: bumpversion marker | ||
replace = .. comment:: bumpversion marker | ||
|
||
{new_version} ({now:%Y-%m-%d}) | ||
------------------ | ||
|
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,33 @@ | ||
# This file exists so you can easily regenerate your project. | ||
# | ||
# `cookiepatcher` is a convenient shim around `cookiecutter` | ||
# for regenerating projects (it will generate a .cookiecutterrc | ||
# automatically for any template). To use it: | ||
# | ||
# pip install cookiepatcher | ||
# cookiepatcher gh:ionelmc/cookiecutter-pylibrary project-path | ||
# | ||
# See: | ||
# https://pypi.python.org/pypi/cookiecutter | ||
# | ||
# Alternatively, you can run: | ||
# | ||
# cookiecutter --overwrite-if-exists --config-file=project-path/.cookiecutterrc gh:ionelmc/cookiecutter-pylibrary | ||
|
||
default_context: | ||
email: rolando at rmax.io | ||
full_name: Rolando (Max) Espinoza | ||
github_username: rolando | ||
project_name: Dask-Elasticsearch | ||
project_package: dask_elasticsearch | ||
project_short_description: Elasticsearch reader for Dask. | ||
project_slug: dask-elasticsearch | ||
pypi_username: rolando | ||
use_codecov: y | ||
use_cython: y | ||
use_landscape: y | ||
use_pypi_deployment_with_travis: y | ||
use_pytest: y | ||
use_requiresio: y | ||
version: 0.1.0-dev | ||
year: 2017 |
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,24 @@ | ||
[paths] | ||
source = | ||
src | ||
|
||
[run] | ||
branch = true | ||
source = | ||
dask_elasticsearch | ||
tests | ||
parallel = true | ||
|
||
[report] | ||
show_missing = true | ||
precision = 2 | ||
omit = | ||
exclude_lines = | ||
pragma: no cover | ||
def __repr__ | ||
if self.debug: | ||
if settings.DEBUG | ||
raise AssertionError | ||
raise NotImplementedError | ||
if 0: | ||
if __name__ == .__main__.: |
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,21 @@ | ||
# http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 4 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
charset = utf-8 | ||
end_of_line = lf | ||
|
||
[*.bat] | ||
indent_style = tab | ||
end_of_line = crlf | ||
|
||
[LICENSE] | ||
insert_final_newline = false | ||
|
||
[Makefile] | ||
indent_style = tab |
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,91 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
|
||
# C extensions | ||
*.so | ||
|
||
# Distribution / packaging | ||
.Python | ||
env/ | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*,cover | ||
.hypothesis/ | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# pyenv | ||
.python-version | ||
|
||
# celery beat schedule file | ||
celerybeat-schedule | ||
|
||
# dotenv | ||
.env | ||
|
||
# virtualenv | ||
.venv | ||
venv/ | ||
ENV/ | ||
|
||
# Spyder project settings | ||
.spyderproject | ||
|
||
# Rope project settings | ||
.ropeproject |
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,79 @@ | ||
# Config file for automatic testing at travis-ci.org | ||
# This file will be regenerated if you run travis_pypi_setup.py | ||
|
||
language: python | ||
python: 3.5 | ||
sudo: false | ||
|
||
env: | ||
- TOXENV=py35 | ||
- TOXENV=py34 | ||
- TOXENV=py27 | ||
|
||
matrix: | ||
fast_finish: true | ||
|
||
|
||
before_install: | ||
- python --version | ||
- uname -a | ||
- lsb_release -a | ||
|
||
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors | ||
install: | ||
- pip install -U pip wheel | ||
- pip install -U tox | ||
- pip install -U coverage | ||
- pip install -U requires.io | ||
- pip install -U twine | ||
- virtualenv --version | ||
- easy_install --version | ||
- pip --version | ||
- tox --version | ||
|
||
# command to run tests, e.g. python setup.py test | ||
script: | ||
- tox --workdir $HOME/.tox | ||
|
||
after_success: | ||
# Codecov requires a single .coverage and will run 'coverage xml' to | ||
# generate the report. | ||
- coverage combine | ||
- bash <(curl -s https://codecov.io/bash) | ||
- requires.io update-site | ||
|
||
|
||
|
||
after_failure: | ||
- more $HOME/.tox/log/* | cat | ||
- more $HOME/.tox/*/log/* | cat | ||
|
||
before_cache: | ||
- rm -fr $HOME/.cache/pip/log | ||
- rm -fr $HOME/.tox/log/* | ||
- rm -fr $HOME/.tox/*/log/* | ||
|
||
cache: | ||
directories: | ||
- $HOME/.cache/pip | ||
- $HOME/.tox | ||
|
||
notifications: | ||
email: | ||
on_sucess: never | ||
on_failure: always | ||
|
||
# FIXME: After you create the Github repo and add it to Travis, run the | ||
# travis_pypi_setup.py script to finish PyPI deployment setup. Then you can | ||
# remove the script travis_pypi_setup.py. | ||
deploy: | ||
provider: pypi | ||
distributions: "sdist bdist_wheel" | ||
user: darkrho | ||
password: | ||
secure: PLEASE_REPLACE_ME | ||
on: | ||
tags: true | ||
all_branches: true | ||
repo: rolando/dask-elasticsearch | ||
condition: "$TOXENV == py35" |
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 @@ | ||
======= | ||
Credits | ||
======= | ||
|
||
Development Lead | ||
---------------- | ||
|
||
* Rolando (Max) Espinoza <rolando at rmax.io> | ||
|
||
Contributors | ||
------------ | ||
|
||
None yet. Why not be the first? |
Oops, something went wrong.