Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
konstantin-stepanov committed Jul 30, 2018
0 parents commit b1e396c
Show file tree
Hide file tree
Showing 23 changed files with 1,798 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .coveragerc
@@ -0,0 +1,4 @@
[run]
branch = True
source = ipmt
omit = site-packages, .tox
105 changes: 105 additions & 0 deletions .gitignore
@@ -0,0 +1,105 @@
# 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/
.pytest_cache/

# 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

# SageMath parsed files
*.sage.py

# dotenv
.env

# virtualenv
.venv
venv/
ENV/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

# pycharm
.idea
40 changes: 40 additions & 0 deletions .travis.yml
@@ -0,0 +1,40 @@
# This file was autogenerated and will overwrite each time you run travis_pypi_setup.py
language: python
python:
- 3.6
services:
- docker
sudo: required

install:
- pip install --upgrade setuptools
- pip install codecov
- pip install -r requirements_dev.txt

script:
- flake8 aioapp_amqp examples tests setup.py
- bandit -r ./aioapp_amqp ./examples setup.py
- mypy aioapp_amqp examples setup.py --ignore-missing-imports
- py.test -v --cov-report term --cov-report html --cov aioapp_amqp ./tests
after_success: codecov

deploy:
provider: pypi
user: inplat
distributions: sdist bdist_wheel
password:
secure: !!binary |
bmpPdC9KWXd1d0syMFZnMDJzcVFoaG9SMVRmUXRIU2FrMDZEb0Vub2UzUWVRZFVzTFJBU0lhYy95
ajByc3FHQVBLZlRVdXN3S2xyR3Zza1F2Qm5teU0zL2hHU09JNWxNcHlCWHgwbER5UGlUcWhSQjly
SUlVaDZWYjV3M21qa1R4STNQZFlEdVBEc0hXWG85dDNOK09OUmNsbGQ4Mmg2Wlkvb3Fpa2pvdHVH
SG9JYlBoVnNPeENCSmFuYUF6UStWZ3dYL3puRjNUQ3FiLzVpemQxZUdtbVFmRlBKckxReksyOG1J
eHBiODFreStzVlh5bUZiUEFSMTlUTE12WWxQKzVFYkxpSm9TVlVJUXU0c3F2Y3FtSnVNUjJ4RjRZ
VUdSSHoydDlDak11dUlsYzhMTmQ0alEwYWtRRXJqbGZJalNFNUtoay9INHdCcSs3VmtIYnlOa3Vt
Q3NrNVVXVzhtWDBDUGkzenhLMUpQNUx0b2laS3pQSzBGN2E1Z1lwbVlvSWpuNFdjR1l4OXhZVlFh
dWV6aURRRmJKS2FLc01mb0Fyc095bytKZ0F2dmNKNWVzdU53dGs3NkN3bmVtbEkvVnp1b2d2aW5r
elh5M3ZZUXlyVHhMNmY3ZEZjVWZXMEZ0M3VOV0JiNTZrb1c4K2REd2FKS0RNLzJiaUJOaDJoMFIv
QnE1dHI5bmFyeWN4MnNKcDBxWGx3RTJqVU1VZzlsOU5NRXg1OWJYQlVJY1RzRnVsQUl3Q0ljTVRn
dHVIRC82NG5HR3EwbmJ5dGw2U01vTGNjTXVtL2J2VU5XNXdibzhncFNaNlN1N05VckRKMDBsdVFy
NWdOeHAxZ01aNlhmK2FpdCtCOEZ6MS9xRlgrVTBlTlg2VzF5Z0VrSmcySGdIRFN2RC9Ic21xaE09
true:
tags: true
13 changes: 13 additions & 0 deletions AUTHORS.rst
@@ -0,0 +1,13 @@
=======
Credits
=======

Development Lead
----------------

* Konstantin Stepanov

Contributors
------------

None yet. Why not be the first?
114 changes: 114 additions & 0 deletions CONTRIBUTING.rst
@@ -0,0 +1,114 @@
.. highlight:: shell

============
Contributing
============

Contributions are welcome, and they are greatly appreciated! Every
little bit helps, and credit will always be given.

You can contribute in many ways:

Types of Contributions
----------------------

Report Bugs
~~~~~~~~~~~

Report bugs at https://github.com/inplat/aioapp_amqp/issues.

If you are reporting a bug, please include:

* Your operating system name and version.
* Any details about your local setup that might be helpful in troubleshooting.
* Detailed steps to reproduce the bug.

Fix Bugs
~~~~~~~~

Look through the GitHub issues for bugs. Anything tagged with "bug"
and "help wanted" is open to whoever wants to implement it.

Implement Features
~~~~~~~~~~~~~~~~~~

Look through the GitHub issues for features. Anything tagged with "enhancement"
and "help wanted" is open to whoever wants to implement it.

Write Documentation
~~~~~~~~~~~~~~~~~~~

aioapp_amqp could always use more documentation, whether as part of the
official aioapp_amqp docs, in docstrings, or even on the web in blog posts,
articles, and such.

Submit Feedback
~~~~~~~~~~~~~~~

The best way to send feedback is to file an issue at https://github.com/inplat/aioapp_amqp/issues.

If you are proposing a feature:

* Explain in detail how it would work.
* Keep the scope as narrow as possible, to make it easier to implement.
* Remember that this is a volunteer-driven project, and that contributions
are welcome :)

Get Started!
------------

Ready to contribute? Here's how to set up `aioapp_amqp` for local development.

1. Fork the `aioapp_amqp` repo on GitHub.
2. Clone your fork locally::

$ git clone git@github.com:your_name_here/aioapp_amqp.git

3. Install your local copy into a virtualenv. Assuming you have virtualenvwrapper installed, this is how you set up your fork for local development::

$ mkvirtualenv aioapp_amqp
$ cd aioapp_amqp/
$ python setup.py develop

4. Create a branch for local development::

$ git checkout -b name-of-your-bugfix-or-feature

Now you can make your changes locally.

5. When you're done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox::

$ flake8 aioapp_amqp tests
$ python setup.py test or py.test
$ tox

To get flake8 and tox, just pip install them into your virtualenv.

6. Commit your changes and push your branch to GitHub::

$ git add .
$ git commit -m "Your detailed description of your changes."
$ git push origin name-of-your-bugfix-or-feature

7. Submit a pull request through the GitHub website.

Pull Request Guidelines
-----------------------

Before you submit a pull request, check that it meets these guidelines:

1. The pull request should include tests.
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 3.6, and for PyPy. Check
https://travis-ci.org/inplat/aioapp_amqp/pull_requests
and make sure that the tests pass for all supported Python versions.

Tips
----

To run a subset of tests::

$ make test

8 changes: 8 additions & 0 deletions HISTORY.rst
@@ -0,0 +1,8 @@
=======
History
=======

0.0.1b1 (2018-01-17)
--------------------

* First release on PyPI.

0 comments on commit b1e396c

Please sign in to comment.