-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from wesokes/master
initial release
- Loading branch information
Showing
38 changed files
with
2,478 additions
and
1 deletion.
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,14 @@ | ||
[run] | ||
branch = True | ||
omit = | ||
*/migrations/* | ||
ambition_utils/version.py | ||
source = ambition_utils | ||
[report] | ||
exclude_lines = | ||
# Have to re-enable the standard pragma | ||
pragma: no cover | ||
# Don't complain if tests don't hit defensive assertion code: | ||
raise NotImplementedError | ||
fail_under = 100 | ||
show_missing = 1 |
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,38 @@ | ||
# Compiled python files | ||
*.pyc | ||
|
||
# Vim files | ||
*.swp | ||
*.swo | ||
|
||
# Coverage files | ||
.coverage | ||
htmlcov/ | ||
|
||
# Setuptools distribution folder. | ||
/dist/ | ||
/build/ | ||
|
||
# Python egg metadata, regenerated from source files by setuptools. | ||
/*.egg-info | ||
/*.egg | ||
.eggs/ | ||
|
||
# Virtualenv | ||
env/ | ||
venv/ | ||
|
||
# OSX | ||
.DS_Store | ||
|
||
# Pycharm | ||
.idea/ | ||
|
||
# Documentation artifacts | ||
docs/_build/ | ||
|
||
# IPython Notebook | ||
.ipynb_checkpoints/ | ||
|
||
# Test database | ||
test_ambition_dev |
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,23 @@ | ||
sudo: true | ||
language: python | ||
python: | ||
- '3.5' | ||
- '3.6' | ||
env: | ||
global: | ||
- DB=postgres | ||
matrix: | ||
- DJANGO=">=1.11,<2.0" | ||
- DJANGO=">=2.0,<2.1" | ||
addons: | ||
postgresql: '9.5' | ||
install: | ||
- pip install -q coverage coveralls flake8 Django$DJANGO django-nose>=1.4 | ||
before_script: | ||
- psql -c 'CREATE DATABASE ambition_utils;' -U postgres | ||
script: | ||
- flake8 ./ambition_utils | ||
- coverage run setup.py test | ||
- coverage report --fail-under=100 | ||
after_success: | ||
coveralls |
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 @@ | ||
Wes Okes ([email protected]) |
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 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2018 Ambition | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of | ||
this software and associated documentation files (the "Software"), to deal in | ||
the Software without restriction, including without limitation the rights to | ||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | ||
the Software, and to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS | ||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR | ||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
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,2 @@ | ||
include README.rst | ||
include LICENSE |
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,38 @@ | ||
.. image:: https://travis-ci.org/ambitioninc/ambition-utils.png | ||
:target: https://travis-ci.org/ambitioninc/ambition-utils | ||
|
||
.. image:: https://coveralls.io/repos/ambitioninc/ambition-utils/badge.png?branch=develop | ||
:target: https://coveralls.io/r/ambitioninc/ambition-utils?branch=develop | ||
|
||
.. image:: https://pypip.in/v/ambition-utils/badge.png | ||
:target: https://crate.io/packages/ambition-utils/ | ||
:alt: Latest PyPI version | ||
|
||
.. image:: https://pypip.in/d/ambition-utils/badge.png | ||
:target: https://crate.io/packages/ambition-utils/ | ||
|
||
|
||
Requirements | ||
------------ | ||
* Python 3.6 | ||
* Django 1.11+ | ||
* Postgres 9.5+ | ||
|
||
Installation | ||
------------ | ||
To install the latest release, type:: | ||
|
||
pip install ambition-utils | ||
|
||
To install the latest code directly from source, type:: | ||
|
||
pip install git+git://github.com/ambitioninc/ambition-utils.git | ||
|
||
Documentation | ||
------------- | ||
|
||
Full documentation is available at http://ambition-utils.readthedocs.org | ||
|
||
License | ||
------- | ||
MIT License (see LICENSE) |
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,4 @@ | ||
# flake8: noqa | ||
from .version import __version__ | ||
|
||
default_app_config = 'ambition_utils.apps.AmbitionUtilsConfig' |
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 @@ | ||
from django.apps import AppConfig | ||
|
||
|
||
class AmbitionUtilsConfig(AppConfig): | ||
name = 'ambition_utils' | ||
verbose_name = 'Ambition Utils' |
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,10 @@ | ||
Release Notes | ||
============= | ||
|
||
0.1.1 | ||
----- | ||
* Use form config class to more easily control and document arguments | ||
|
||
0.1.0 | ||
----- | ||
* This is the initial release of ambition-utils |
Oops, something went wrong.