[Python-modules-commits] [python-ramlfications] 01/06: New upstream version 0.1.9

Paolo Greppi paolog-guest at moszumanska.debian.org
Wed May 24 14:51:54 UTC 2017


This is an automated email from the git hooks/post-receive script.

paolog-guest pushed a commit to branch master
in repository python-ramlfications.

commit 9f4b0eec5b61ff549689efbd8d8c4cf0b72fca68
Author: Paolo Greppi <paolo.greppi at libpf.com>
Date:   Wed May 24 16:31:47 2017 +0200

    New upstream version 0.1.9
---
 .coveragerc                                        |    10 +
 .travis.yml                                        |    32 +
 AUTHORS.rst                                        |    11 +
 CONTRIBUTING.rst                                   |    47 +
 LICENSE                                            |   202 +
 MANIFEST.in                                        |     7 +
 PKG-INFO                                           |   279 +
 README.rst                                         |   129 +
 dev-requirements.txt                               |    12 +
 docs/Makefile                                      |   177 +
 docs/_static/ajax-loader.gif                       |   Bin 0 -> 673 bytes
 docs/_static/basic.css                             |   537 +
 docs/_static/comment-bright.png                    |   Bin 0 -> 3500 bytes
 docs/_static/comment-close.png                     |   Bin 0 -> 3578 bytes
 docs/_static/comment.png                           |   Bin 0 -> 3445 bytes
 docs/_static/css/badge_only.css                    |     1 +
 docs/_static/css/custom.css                        |    51 +
 docs/_static/css/rtdtheme.css                      |  5433 +++
 docs/_static/doctools.js                           |   238 +
 docs/_static/down-pressed.png                      |   Bin 0 -> 368 bytes
 docs/_static/down.png                              |   Bin 0 -> 363 bytes
 docs/_static/favicon.ico                           |   Bin 0 -> 1150 bytes
 docs/_static/file.png                              |   Bin 0 -> 392 bytes
 docs/_static/fonts/FontAwesome.otf                 |   Bin 0 -> 93888 bytes
 docs/_static/fonts/fontawesome-webfont.eot         |   Bin 0 -> 60767 bytes
 docs/_static/fonts/fontawesome-webfont.svg         |   565 +
 docs/_static/fonts/fontawesome-webfont.ttf         |   Bin 0 -> 122092 bytes
 docs/_static/fonts/fontawesome-webfont.woff        |   Bin 0 -> 71508 bytes
 docs/_static/fonts/fontawesome-webfont.woff2       |   Bin 0 -> 56780 bytes
 docs/_static/fonts/fontawesome_webfont.ttf         |   Bin 0 -> 122092 bytes
 docs/_static/fonts/fontawesome_webfont.woff        |   Bin 0 -> 71508 bytes
 docs/_static/fonts/fontawesome_webfont.woff2       |   Bin 0 -> 56780 bytes
 docs/_static/jquery.js                             |     2 +
 docs/_static/js/theme.js                           |    47 +
 docs/_static/minus.png                             |   Bin 0 -> 199 bytes
 docs/_static/plus.png                              |   Bin 0 -> 199 bytes
 docs/_static/pygments.css                          |    62 +
 docs/_static/searchtools.js                        |   622 +
 docs/_static/underscore.js                         |    31 +
 docs/_static/up-pressed.png                        |   Bin 0 -> 372 bytes
 docs/_static/up.png                                |   Bin 0 -> 363 bytes
 docs/_static/websupport.js                         |   808 +
 docs/api.rst                                       |   572 +
 docs/changelog.rst                                 |   123 +
 docs/conf.py                                       |   331 +
 docs/config.rst                                    |   134 +
 docs/contributing.rst                              |     1 +
 docs/extendedusage.rst                             |   877 +
 docs/index.rst                                     |    42 +
 docs/installation.rst                              |     2 +
 docs/intro.rst                                     |    42 +
 docs/license.rst                                   |     9 +
 docs/usage.rst                                     |   265 +
 docs/wishlist.rst                                  |    18 +
 ramlfications.egg-info/PKG-INFO                    |   279 +
 ramlfications.egg-info/SOURCES.txt                 |   201 +
 ramlfications.egg-info/dependency_links.txt        |     1 +
 ramlfications.egg-info/entry_points.txt            |     3 +
 ramlfications.egg-info/requires.txt                |    11 +
 ramlfications.egg-info/top_level.txt               |     1 +
 ramlfications/__init__.py                          |    98 +
 ramlfications/__main__.py                          |    71 +
 ramlfications/_decorators.py                       |    11 +
 ramlfications/_helpers.py                          |    44 +
 ramlfications/config.py                            |   100 +
 ramlfications/data/supported_mime_types.json       |     1 +
 ramlfications/errors.py                            |    61 +
 ramlfications/loader.py                            |    94 +
 ramlfications/parameters.py                        |   362 +
 ramlfications/parser.py                            |  1114 +
 ramlfications/parser_utils.py                      |    35 +
 ramlfications/raml.py                              |   223 +
 ramlfications/tree.py                              |   154 +
 ramlfications/utils.py                             |   734 +
 ramlfications/validate.py                          |   360 +
 requirements.txt                                   |     8 +
 setup.cfg                                          |    17 +
 setup.py                                           |   119 +
 tests/__init__.py                                  |     0
 tests/base.py                                      |    12 +
 tests/data/__init__.py                             |     0
 tests/data/examples/base-includes.raml             |     5 +
 tests/data/examples/complete-valid-example.raml    |   626 +
 tests/data/examples/cyclic_includes.raml           |     4 +
 .../data/examples/empty-mapping-resource-type.raml |   210 +
 tests/data/examples/empty-mapping.raml             |   232 +
 tests/data/examples/github-config.ini              |    11 +
 tests/data/examples/github.raml                    | 21655 ++++++++++++
 tests/data/examples/include_has_invalid_tag.raml   |     4 +
 .../data/examples/includes/all-the-properties.raml |     5 +
 tests/data/examples/includes/example.json          |     4 +
 tests/data/examples/includes/example.md            |     9 +
 tests/data/examples/includes/example.xsd           |     5 +
 .../examples/includes/first-level-includes.raml    |     4 +
 tests/data/examples/includes/foo-properties.raml   |     4 +
 .../data/examples/includes/inherited.example.json  |     6 +
 tests/data/examples/includes/inherited.schema.json |    22 +
 tests/data/examples/includes/invalid_yaml_tag.raml |     3 +
 tests/data/examples/includes/not_yaml.txt          |     1 +
 .../examples/includes/post-thingy-example.json     |     1 +
 .../data/examples/includes/post-thingy-schema.json |     4 +
 tests/data/examples/includes/properties.raml       |     4 +
 .../second_level_includes/second-includes.raml     |     4 +
 tests/data/examples/includes/thingy-list.xsd       |    10 +
 tests/data/examples/includes/thingy.xsd            |     8 +
 tests/data/examples/invalid_yaml.yaml              |    11 +
 tests/data/examples/invalid_yaml_tag.raml          |     4 +
 tests/data/examples/json_includes.raml             |     8 +
 tests/data/examples/md_includes.raml               |     9 +
 tests/data/examples/nested-includes.raml           |     4 +
 tests/data/examples/nonyaml-includes.raml          |     4 +
 tests/data/examples/preserve-uri-order.raml        |    33 +
 tests/data/examples/protocols.raml                 |    28 +
 tests/data/examples/resource-type-inherited.raml   |   238 +
 tests/data/examples/simple-tree.raml               |    53 +
 tests/data/examples/simple.raml                    |   232 +
 tests/data/examples/test-config.ini                |    11 +
 tests/data/examples/twitter-config.ini             |     8 +
 tests/data/examples/twitter.raml                   | 34279 +++++++++++++++++++
 tests/data/examples/undefined-uri-params.raml      |    16 +
 tests/data/examples/xsd_includes.raml              |     8 +
 tests/data/fixtures/__init__.py                    |     0
 tests/data/fixtures/load_fixtures.py               |   475 +
 tests/data/fixtures/tree_fixtures.py               |   172 +
 tests/data/jsonref/artist.schema.json              |    22 +
 tests/data/jsonref/includes/artist.schema.json     |    51 +
 tests/data/jsonref/includes/example.json           |     4 +
 tests/data/jsonref/includes/image.schema.json      |    18 +
 .../data/jsonref/includes/ref_empty_fragment.json  |     4 +
 .../jsonref/includes/ref_internal_fragment.json    |     7 +
 .../includes/ref_multiref_internal_fragment.json   |     9 +
 .../jsonref/includes/ref_nonempty_fragment.json    |     4 +
 tests/data/jsonref/jsonref_empty_fragment.raml     |     8 +
 tests/data/jsonref/jsonref_example.json            |     4 +
 tests/data/jsonref/jsonref_internal_fragment.raml  |     8 +
 tests/data/jsonref/jsonref_mock_remote.json        |    18 +
 .../jsonref_multiref_internal_fragment.raml        |     8 +
 tests/data/jsonref/jsonref_nonempty_fragment.raml  |     8 +
 tests/data/jsonref/jsonref_relative_local.raml     |     8 +
 .../jsonref/jsonref_relative_local.schema.json     |    15 +
 .../data/jsonref/jsonref_relative_local_file.raml  |     8 +
 .../jsonref_relative_local_file.schema.json        |    15 +
 .../jsonref/jsonref_relative_local_includes.raml   |     8 +
 .../jsonref_relative_local_includes.schema.json    |    15 +
 .../jsonref_relative_local_includes_file.raml      |     8 +
 ...sonref_relative_local_includes_file.schema.json |    15 +
 tests/data/update/expected_mime_types.json         |     1 +
 tests/data/update/iana_mime_media_types.xml        | 10476 ++++++
 tests/data/update/invalid_iana_download.xml        |     3 +
 tests/data/update/no_data.xml                      |     0
 tests/data/update/no_registries.xml                |    38 +
 tests/data/update/unexpected_registry_count.xml    |  6140 ++++
 tests/data/validate/docs-no-content.raml           |    11 +
 tests/data/validate/docs-no-title.raml             |    13 +
 tests/data/validate/docs-not-list.raml             |    28 +
 .../data/validate/empty-mapping-resource-type.raml |   210 +
 .../empty-mapping-security-scheme-settings.raml    |   202 +
 tests/data/validate/empty-mapping-trait.raml       |   110 +
 tests/data/validate/invalid-base-uri-params.raml   |    33 +
 tests/data/validate/invalid-body-form-example.raml |    19 +
 tests/data/validate/invalid-body-form-schema.raml  |    19 +
 tests/data/validate/invalid-body-mime-type.raml    |    13 +
 .../data/validate/invalid-body-no-form-params.raml |    13 +
 .../data/validate/invalid-integer-number-type.raml |    22 +
 tests/data/validate/invalid-media-type.raml        |    21 +
 .../validate/invalid-parameter-type-header.raml    |    13 +
 tests/data/validate/invalid-protocols.raml         |    21 +
 tests/data/validate/invalid-response-code-str.raml |    14 +
 tests/data/validate/invalid-response-code.raml     |    14 +
 tests/data/validate/invalid-string-type.raml       |    22 +
 tests/data/validate/no-base-uri-no-title.raml      |     6 +
 tests/data/validate/no-base-uri.raml               |     7 +
 tests/data/validate/no-resources.raml              |     7 +
 tests/data/validate/no-response-code.raml          |    11 +
 tests/data/validate/no-title.raml                  |     7 +
 tests/data/validate/no-traits-defined.raml         |    10 +
 tests/data/validate/no-version-base-uri.raml       |     7 +
 tests/data/validate/no-version.raml                |    11 +
 tests/data/validate/optional-base-uri-params.raml  |    30 +
 .../data/validate/too-many-assigned-res-types.raml |    38 +
 tests/data/validate/trait-undefined.raml           |    29 +
 tests/data/validate/trait-unsupported-obj.raml     |    31 +
 .../trait-unsupported-type-array-ints.raml         |    31 +
 .../data/validate/trait-unsupported-type-str.raml  |    31 +
 .../data/validate/undefined-resource-type-str.raml |    32 +
 tests/data/validate/valid-config.ini               |     8 +
 tests/data/validate/validation-off.ini             |     8 +
 tests/data/validate/version-in-uri-params.raml     |    15 +
 tests/integration/__init__.py                      |     0
 tests/integration/test_github.py                   |   556 +
 tests/integration/test_twitter.py                  |   633 +
 tests/test_config.py                               |    84 +
 tests/test_helpers.py                              |    38 +
 tests/test_init.py                                 |    69 +
 tests/test_loader.py                               |   267 +
 tests/test_main.py                                 |   104 +
 tests/test_parser.py                               |  1263 +
 tests/test_tree.py                                 |    86 +
 tests/test_utils.py                                |   195 +
 tests/test_validate.py                             |   387 +
 tox-requirements.txt                               |     6 +
 tox.ini                                            |    59 +
 202 files changed, 96054 insertions(+)

diff --git a/.coveragerc b/.coveragerc
new file mode 100644
index 0000000..369ec42
--- /dev/null
+++ b/.coveragerc
@@ -0,0 +1,10 @@
+[run]
+parallel = True
+omit = tests/*
+
+[report]
+exclude_lines =
+    if __name__ == .__main__.:
+    pragma: no cover
+    NOCOV
+show_missing = True
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..34e926f
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,32 @@
+language: python
+python: 2.7
+env:
+- TOX_ENV=py26
+- TOX_ENV=py27
+- TOX_ENV=py33
+- TOX_ENV=py34
+- TOX_ENV=pypy
+- TOX_ENV=docs
+- TOX_ENV=flake8
+- TOX_ENV=manifest
+before_install:
+- pip install codecov
+install:
+- pip install tox
+script:
+- tox --hashseed 0 -e $TOX_ENV
+after_success:
+- codecov
+notifications:
+  email: false
+  irc: "chat.freenode.net#ramlfications"
+  slack:
+    secure: "G1bX3FdqzbQb/f5CNwatSdPTbxKBo4HT5/wodDNtFyoj9ePd+Xh/h+d97QGB+6Swn7Gnp3r9bqmJrkffogc+N8RzhOJiFfVfOtXWqUa1Y5r/rxO0xZz7Q8PVRAIW0N6YYnq8t4bp9R3yYOdQYtgfUOmKq2TlnEEtZA4MeH7jYwc="
+deploy:
+  provider: pypi
+  user: roguelynn
+  password:
+    secure: XgUz7PiCHCOVM1yZeNfuy2j73aAGpW5HtTocmjlKNqG9wKXGkqV4IFWneznE1n8hqQj+Tqmm4MQ0AftJcomEh9WESVsglwMOqwMericRcsVkrEq+XHPynMfqsUc/MEr+zAB/Tj9SsbYMjP8zsk4TdJx/s+EbYFXsDfHrxcQY6q4=
+  on:
+    tags: true
+  distributions: sdist bdist_wheel
diff --git a/AUTHORS.rst b/AUTHORS.rst
new file mode 100644
index 0000000..2939bc4
--- /dev/null
+++ b/AUTHORS.rst
@@ -0,0 +1,11 @@
+Credits
+-------
+
+``ramlfications`` is written and maintained by `Lynn Root`_ and thanks various
+contributors:
+
+- `Hynek Schlawack <https://github.com/hynek>`_
+- `Matt Montag <https://github.com/mmontag>`_
+
+
+.. _`Lynn Root`: https://github.com/econchick
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst
new file mode 100644
index 0000000..bd5c936
--- /dev/null
+++ b/CONTRIBUTING.rst
@@ -0,0 +1,47 @@
+How To Contribute
+=================
+
+Every open source project lives from the generous help by contributors that sacrifice their time and ``ramlfications`` is no different.
+
+To make participation as pleasant as possible, this project adheres to the `Code of Conduct`_ by the Python Software Foundation.
+
+Here are a few hints and rules to get you started:
+
+- Current status of the project (including issues & PRs) can be seen on our `waffle.io`_ page.
+- Meaning of GitHub labels:
+    - ``help wanted``: Feeling generous with your time? These issues are up for grabs.  Ask any questions in the comments of the issue.
+    - ``in progress``: This issue is currently being worked on.
+    - ``ready``: Issue/bug has been confirmed, and is available for anyone to work on.
+    - ``feature``: Feature/idea to extend ``ramlfications``.
+    - ``bug``: A bug or issue within ``ramlfications``.
+    - ``no repro``: A filled bug that can not be reproduced (feel free to comment/reopen if you find you are seeing this bug).
+    - ``wontfix``: A filled issue deemed not relevant to the project in some way.
+    - ``duplicate``: Either duplicate issue or PR.
+
+- Take a look at the :doc:`wishlist` for inspiration.
+- Any GitHub issue that is labeled ``ready`` is up for grabs.
+- Add yourself to the AUTHORS.rst_ file in an alphabetical fashion.
+  Every contribution is valuable and shall be credited.
+- If your change is noteworthy, add an entry to the changelog_.
+- No contribution is too small; please submit as many fixes for typos and grammar bloopers as you can!
+- *Always* add tests and docs for your code.
+  This is a hard rule; patches with missing tests or documentation won’t be merged – if a feature is not tested or documented, it doesn’t exist.
+- Obey `PEP 8`_ and `PEP 257`_.
+- Write `good commit messages`_.
+
+.. note::
+   If you have something great but aren’t sure whether it adheres -- or even can adhere -- to the rules above: **please submit a pull request anyway**!
+
+   In the best case, we can mold it into something, in the worst case the pull request gets politely closed.
+   There’s absolutely nothing to fear.
+
+Thank you for considering to contribute to ``ramlfications``!
+
+
+.. _`PEP 8`: http://www.python.org/dev/peps/pep-0008/
+.. _`PEP 257`: http://www.python.org/dev/peps/pep-0257/
+.. _`good commit messages`: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
+.. _`Code of Conduct`: https://www.python.org/psf/codeofconduct/
+.. _changelog: https://github.com/spotify/ramlfications/blob/master/docs/changelog.rst
+.. _AUTHORS.rst: https://github.com/spotify/ramlfications/blob/master/AUTHORS.rst
+.. _`waffle.io`: https://waffle.io/spotify/ramlfications
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..d645695
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,202 @@
+
+                                 Apache License
+                           Version 2.0, January 2004
+                        http://www.apache.org/licenses/
+
+   TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+   1. Definitions.
+
+      "License" shall mean the terms and conditions for use, reproduction,
+      and distribution as defined by Sections 1 through 9 of this document.
+
+      "Licensor" shall mean the copyright owner or entity authorized by
+      the copyright owner that is granting the License.
+
+      "Legal Entity" shall mean the union of the acting entity and all
+      other entities that control, are controlled by, or are under common
+      control with that entity. For the purposes of this definition,
+      "control" means (i) the power, direct or indirect, to cause the
+      direction or management of such entity, whether by contract or
+      otherwise, or (ii) ownership of fifty percent (50%) or more of the
+      outstanding shares, or (iii) beneficial ownership of such entity.
+
+      "You" (or "Your") shall mean an individual or Legal Entity
+      exercising permissions granted by this License.
+
+      "Source" form shall mean the preferred form for making modifications,
+      including but not limited to software source code, documentation
+      source, and configuration files.
+
+      "Object" form shall mean any form resulting from mechanical
+      transformation or translation of a Source form, including but
+      not limited to compiled object code, generated documentation,
+      and conversions to other media types.
+
+      "Work" shall mean the work of authorship, whether in Source or
+      Object form, made available under the License, as indicated by a
+      copyright notice that is included in or attached to the work
+      (an example is provided in the Appendix below).
+
+      "Derivative Works" shall mean any work, whether in Source or Object
+      form, that is based on (or derived from) the Work and for which the
+      editorial revisions, annotations, elaborations, or other modifications
+      represent, as a whole, an original work of authorship. For the purposes
+      of this License, Derivative Works shall not include works that remain
+      separable from, or merely link (or bind by name) to the interfaces of,
+      the Work and Derivative Works thereof.
+
+      "Contribution" shall mean any work of authorship, including
+      the original version of the Work and any modifications or additions
+      to that Work or Derivative Works thereof, that is intentionally
+      submitted to Licensor for inclusion in the Work by the copyright owner
+      or by an individual or Legal Entity authorized to submit on behalf of
+      the copyright owner. For the purposes of this definition, "submitted"
+      means any form of electronic, verbal, or written communication sent
+      to the Licensor or its representatives, including but not limited to
+      communication on electronic mailing lists, source code control systems,
+      and issue tracking systems that are managed by, or on behalf of, the
+      Licensor for the purpose of discussing and improving the Work, but
+      excluding communication that is conspicuously marked or otherwise
+      designated in writing by the copyright owner as "Not a Contribution."
+
+      "Contributor" shall mean Licensor and any individual or Legal Entity
+      on behalf of whom a Contribution has been received by Licensor and
+      subsequently incorporated within the Work.
+
+   2. Grant of Copyright License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      copyright license to reproduce, prepare Derivative Works of,
+      publicly display, publicly perform, sublicense, and distribute the
+      Work and such Derivative Works in Source or Object form.
+
+   3. Grant of Patent License. Subject to the terms and conditions of
+      this License, each Contributor hereby grants to You a perpetual,
+      worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+      (except as stated in this section) patent license to make, have made,
+      use, offer to sell, sell, import, and otherwise transfer the Work,
+      where such license applies only to those patent claims licensable
+      by such Contributor that are necessarily infringed by their
+      Contribution(s) alone or by combination of their Contribution(s)
+      with the Work to which such Contribution(s) was submitted. If You
+      institute patent litigation against any entity (including a
+      cross-claim or counterclaim in a lawsuit) alleging that the Work
+      or a Contribution incorporated within the Work constitutes direct
+      or contributory patent infringement, then any patent licenses
+      granted to You under this License for that Work shall terminate
+      as of the date such litigation is filed.
+
+   4. Redistribution. You may reproduce and distribute copies of the
+      Work or Derivative Works thereof in any medium, with or without
+      modifications, and in Source or Object form, provided that You
+      meet the following conditions:
+
+      (a) You must give any other recipients of the Work or
+          Derivative Works a copy of this License; and
+
+      (b) You must cause any modified files to carry prominent notices
+          stating that You changed the files; and
+
+      (c) You must retain, in the Source form of any Derivative Works
+          that You distribute, all copyright, patent, trademark, and
+          attribution notices from the Source form of the Work,
+          excluding those notices that do not pertain to any part of
+          the Derivative Works; and
+
+      (d) If the Work includes a "NOTICE" text file as part of its
+          distribution, then any Derivative Works that You distribute must
+          include a readable copy of the attribution notices contained
+          within such NOTICE file, excluding those notices that do not
+          pertain to any part of the Derivative Works, in at least one
+          of the following places: within a NOTICE text file distributed
+          as part of the Derivative Works; within the Source form or
+          documentation, if provided along with the Derivative Works; or,
+          within a display generated by the Derivative Works, if and
+          wherever such third-party notices normally appear. The contents
+          of the NOTICE file are for informational purposes only and
+          do not modify the License. You may add Your own attribution
+          notices within Derivative Works that You distribute, alongside
+          or as an addendum to the NOTICE text from the Work, provided
+          that such additional attribution notices cannot be construed
+          as modifying the License.
+
+      You may add Your own copyright statement to Your modifications and
+      may provide additional or different license terms and conditions
+      for use, reproduction, or distribution of Your modifications, or
+      for any such Derivative Works as a whole, provided Your use,
+      reproduction, and distribution of the Work otherwise complies with
+      the conditions stated in this License.
+
+   5. Submission of Contributions. Unless You explicitly state otherwise,
+      any Contribution intentionally submitted for inclusion in the Work
+      by You to the Licensor shall be under the terms and conditions of
+      this License, without any additional terms or conditions.
+      Notwithstanding the above, nothing herein shall supersede or modify
+      the terms of any separate license agreement you may have executed
+      with Licensor regarding such Contributions.
+
+   6. Trademarks. This License does not grant permission to use the trade
+      names, trademarks, service marks, or product names of the Licensor,
+      except as required for reasonable and customary use in describing the
+      origin of the Work and reproducing the content of the NOTICE file.
+
+   7. Disclaimer of Warranty. Unless required by applicable law or
+      agreed to in writing, Licensor provides the Work (and each
+      Contributor provides its Contributions) on an "AS IS" BASIS,
+      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+      implied, including, without limitation, any warranties or conditions
+      of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+      PARTICULAR PURPOSE. You are solely responsible for determining the
+      appropriateness of using or redistributing the Work and assume any
+      risks associated with Your exercise of permissions under this License.
+
+   8. Limitation of Liability. In no event and under no legal theory,
+      whether in tort (including negligence), contract, or otherwise,
+      unless required by applicable law (such as deliberate and grossly
+      negligent acts) or agreed to in writing, shall any Contributor be
+      liable to You for damages, including any direct, indirect, special,
+      incidental, or consequential damages of any character arising as a
+      result of this License or out of the use or inability to use the
+      Work (including but not limited to damages for loss of goodwill,
+      work stoppage, computer failure or malfunction, or any and all
+      other commercial damages or losses), even if such Contributor
+      has been advised of the possibility of such damages.
+
+   9. Accepting Warranty or Additional Liability. While redistributing
+      the Work or Derivative Works thereof, You may choose to offer,
+      and charge a fee for, acceptance of support, warranty, indemnity,
+      or other liability obligations and/or rights consistent with this
+      License. However, in accepting such obligations, You may act only
+      on Your own behalf and on Your sole responsibility, not on behalf
+      of any other Contributor, and only if You agree to indemnify,
+      defend, and hold each Contributor harmless for any liability
+      incurred by, or claims asserted against, such Contributor by reason
+      of your accepting any such warranty or additional liability.
+
+   END OF TERMS AND CONDITIONS
+
+   APPENDIX: How to apply the Apache License to your work.
+
+      To apply the Apache License to your work, attach the following
+      boilerplate notice, with the fields enclosed by brackets "[]"
+      replaced with your own identifying information. (Don't include
+      the brackets!)  The text should be enclosed in the appropriate
+      comment syntax for the file format. We also recommend that a
+      file or class name and description of purpose be included on the
+      same "printed page" as the copyright notice for easier
+      identification within third-party archives.
+
+   Copyright [yyyy] [name of copyright owner]
+
+   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.
diff --git a/MANIFEST.in b/MANIFEST.in
new file mode 100644
index 0000000..fa079a4
--- /dev/null
+++ b/MANIFEST.in
@@ -0,0 +1,7 @@
+include *.md *.txt tox.ini docs/Makefile *.rst LICENSE .coveragerc .travis.yml *.ini
+recursive-include ramlfications *.py *.ini *.json
+recursive-include docs *.py *.rst
+recursive-include docs/_static *
+prune docs/_build
+recursive-include tests *.py *.json *.md *.py *.raml *.yaml *.xsd *.ini *.xml *.txt
+
diff --git a/PKG-INFO b/PKG-INFO
new file mode 100644
index 0000000..522e61d
--- /dev/null
+++ b/PKG-INFO
@@ -0,0 +1,279 @@
+Metadata-Version: 1.1
+Name: ramlfications
+Version: 0.1.9
+Summary: A Python RAML parser
+Home-page: https://ramlfications.readthedocs.org
+Author: Lynn Root
+Author-email: lynn at spotify.com
+License: Apache 2.0
+Description: ramlfications: RAML reference implementation in Python
+        ======================================================
+        
+        .. image:: https://img.shields.io/travis/spotify/ramlfications.svg?style=flat-square
+           :target: https://travis-ci.org/spotify/ramlfications
+           :alt: CI status
+        
+        .. image:: https://img.shields.io/pypi/v/ramlfications.svg?style=flat-square
+           :target: https://pypi.python.org/pypi/ramlfications/
+           :alt: Latest Version
+        
+        .. image:: https://img.shields.io/pypi/status/ramlfications.svg?style=flat-square
+            :target: https://pypi.python.org/pypi/ramlfications/
+            :alt: Development Status
+        
+        .. image:: https://img.shields.io/pypi/l/ramlfications.svg?style=flat-square
+           :target: https://github.com/spotify/ramlfications/blob/master/LICENSE
+           :alt: License
+        
+        .. image:: https://codecov.io/github/spotify/ramlfications/coverage.svg?branch=master
+           :target: https://codecov.io/github/spotify/ramlfications?branch=master
+           :alt: Current coverage
+        
+        .. image:: https://img.shields.io/pypi/pyversions/ramlfications.svg?style=flat-square
+            :target: https://pypi.python.org/pypi/ramlfications/
+            :alt: Supported Python versions
+        
+        
+        .. begin
+        
+        Requirements and Installation
+        =============================
+        
+        User Setup
+        ----------
+        
+        The latest stable version can be found on PyPI_, and you can install via pip_::
+        
+           $ pip install ramlfications
+        
+        ``ramlfications`` runs on Python 2.6, 2.7, and 3.3+, and PyPy. Both Linux and OS X are supported. Currently, only RAML 0.8 is supported, but there are plans_ to support 1.0.
+        
+        Continue onto `usage`_ to get started on using ``ramlfications``.
+        
+        
+        Developer Setup
+        ---------------
+        
+        If you'd like to contribute or develop upon ``ramlfications``, be sure to read `How to Contribute`_
+        first.
+        
+        You can see the progress of ``ramlfications`` on our public `project management`_ page.
+        
+        System requirements:
+        ^^^^^^^^^^^^^^^^^^^^
+        
+        - C Compiler (gcc/clang/etc.)
+        - If on Linux - you'll need to install Python headers (e.g. ``apt-get install python-dev``)
+        - Python 2.6, 2.7, 3.3+, or PyPy
+        - virtualenv_
+        
+        Here's how to set your machine up::
+        
+            $ git clone git at github.com:spotify/ramlfications
+            $ cd ramlfications
+            $ virtualenv env
+            $ source env/bin/activate
+            (env) $ pip install -r dev-requirements.txt
+        
+        
+        Run Tests
+        ^^^^^^^^^
+        
+        If you'd like to run tests for all supported Python versions, you must have all Python versions
+        installed on your system.  I suggest pyenv_ to help with that.
+        
+        To run all tests::
+        
+            (env) $ tox
+        
+        To run a specific test setup (options include: ``py26``, ``py27``, ``py33``, ``py34``, ``pypy``,
+        ``flake8``, ``verbose``, ``manifest``, ``docs``, ``setup``, ``setupcov``)::
+        
+            (env) $ tox -e py26
+        
+        To run tests without tox::
+        
+            (env) $ py.test
+            (env) $ py.test --cov ramlfications --cov-report term-missing
+        
+        
+        Build Docs
+        ^^^^^^^^^^
+        
+        Documentation is build with Sphinx_, written in rST, uses the `Read the Docs`_ theme with
+        a slightly customized CSS, and is hosted on `Read the Docs site`_.
+        
+        To rebuild docs locally, within the parent ``ramlfications`` directory::
+        
+            (env) $ tox -e docs
+        
+        or::
+        
+            (env) $ sphinx-build -b docs/ docs/_build
+        
+        Then within ``ramlfications/docs/_build`` you can open the index.html page in your browser.
+        
+        
+        Still have issues?
+        ^^^^^^^^^^^^^^^^^^
+        
+        Feel free to drop by ``#ramlfications`` on Freenode (`webchat`_) or ping via `Twitter`_.
+        "roguelynn" is the maintainer, a.k.a `econchick`_ on GitHub, and based in San Fran.
+        
+        
+        .. _pip: https://pip.pypa.io/en/latest/installing.html#install-pip
+        .. _PyPI: https://pypi.python.org/project/ramlfications/
+        .. _virtualenv: https://virtualenv.pypa.io/en/latest/
+        .. _pyenv: https://github.com/yyuu/pyenv
+        .. _Sphinx: http://sphinx-doc.org/
+        .. _`Read the Docs`: https://github.com/snide/sphinx_rtd_theme
+        .. _`Read the Docs site`: https://ramlfications.readthedocs.org
+        .. _`usage`: http://ramlfications.readthedocs.org/en/latest/usage.html
+        .. _`How to Contribute`: http://ramlfications.readthedocs.org/en/latest/contributing.html
+        .. _`webchat`: http://webchat.freenode.net?channels=%23ramlfications&uio=ND10cnVlJjk9dHJ1ZQb4
+        .. _`econchick`: https://github.com/econchick
+        .. _`Twitter`: https://twitter.com/roguelynn
+        .. _`project management`: https://waffle.io/spotify/ramlfications
+        .. _plans: https://github.com/spotify/ramlfications/issues/54
+        
+        Changelog
+        =========
+        
+        0.1.9 (2015-12-24)
+        ------------------
+        
+        Happy holidays!
+        
+        - Fix resource type inheritance (`Issue 23`_ & `Issue 47`_)
+        - Preserve order of ``baseUriParameters`` and ``uriParameters`` in API root and resource nodes (`Issue 37`_)
+        - Fix missing URI parameters if not defined/declared inline (`Issue 56`_)
+        - Fix how arguments are passed into pytest in ``setup.py`` (`PR 55`_ - thank you `matiasb`_!)
+        
+        
+        0.1.8 (2015-10-07)
+        ------------------
+        
+        - Fix incorrect/incomplete behavior optional properties of Resource Types (`Issue 44`_).
+        - Fix ``protocols`` inheritance (`Issue 44`_).
+        - Partial fix for `Issue 23`_ - incorrect resource type inheritance
+        
+            * When a resource type is defined with one method that is optional and is applied to a resource that does *not* have that method defined, the resource’s method should not inherit from the optional method
+            * When a resource inherits a resource type but explicitly defines named parameters, the named parameters in the resource should overwrite those that are inherited
+        
+        0.1.7 (2015-08-20)
+        ------------------
+        
+        Added:
+        
+        - Support for parsing ``$ref`` s in included JSON schemas (`Issue 4`_).  Thank you `benhamill`_, `nvillalva`_, and `jhl2343`_!
+        - Collect all validation errors (rather than just erroring out on the first one) (`Issue 21`_).  Thank you `cerivera`_!
+        
+        
+        0.1.6 (2015-08-03)
+        ------------------
+        
+        Added:
+        
+        - `waffle.io`_ page to documentation for project management overview
+        
+        Fixed:
+        
+        - Parse errors when RAML file would have empty mappings (`Issue 30`_)
+        - Switch ``yaml.Loader`` to ``yaml.SafeLoader`` (`Issue 26`_)
+        - Update documentation to reflect rearrangement of errors (`Issue 27`_)
+        - Remove ``default`` parameter from being required for ``baseURIParameters`` (`Issue 29`_)
+        - Pin mock library for tox tests (`Issue 22`_)
+        - Experimenting with speeding up pypy tests within tox on Travis
+        
+        0.1.5 (2015-06-05)
+        ------------------
+        
+        Fixed:
+        
+        - Configuration parsing for validation/production.  Thanks `vrajmohan`_!
+        - Parsing of response bodies (fixes `Issue 12`_).  Thanks `Igor`_!
+        
+        0.1.4 (2015-05-27)
+        ------------------
+        
+        Added:
+        
+        - Support for recursive ``!includes`` in RAML files (0.1.3 would handle the error, now actually supports it. Thanks `Ben`_ for your `PR`_!).
+        
+        0.1.3 (2015-05-14)
+        ------------------
+        
+        Added:
+        
+        - New ``#ramlfications`` channel on `freenode`_ (web chat link)! Come chat, I'm lonely.
+        - Documentation for configuration and the ``update`` command.
+        
+        Fixed:
+        
+        - Handle recursive/cyclical ``!includes`` in RAML files for now (`PR`_)
+        - Encoding issues from upgrading to tox 2.0
+        - ``tests/test_utils.py`` would create ``ramlfications/data/supported_mime_types.json``; now mocked out.
+        
+        0.1.2 (2015-04-21)
+        ------------------
+        
+        Fixed:
+        
+        - pypy 2.5.x would fail a parser test because order of list was not expected
+        
+        0.1.1 (2015-04-21)
+        ------------------
+        
+        New:
+        
+        - Added ability to parse IANA-supported MIME media types
+        - Added ``update`` command for user to update IANA-supported MIME types if/when needed
+        
+        0.1.0a1 (2015-04-18)
+        --------------------
+        Initial alpha release of ``ramlfications``\!
+        
+        
+        .. _`PR`: https://github.com/spotify/ramlfications/pull/8
+        .. _`freenode`: http://webchat.freenode.net?channels=%23ramlfications&uio=ND10cnVlJjk9dHJ1ZQb4
+        .. _`Ben`: https://github.com/benhamill
+        .. _`vrajmohan`: https://github.com/spotify/ramlfications/pull/16
+        .. _`Issue 12`: https://github.com/spotify/ramlfications/issues/12
+        .. _`Igor`: https://github.com/spotify/ramlfications/pull/13
+        .. _`Issue 30`: https://github.com/spotify/ramlfications/issues/30
+        .. _`Issue 26`: https://github.com/spotify/ramlfications/issues/26
+        .. _`Issue 27`: https://github.com/spotify/ramlfications/issues/27
+        .. _`Issue 29`: https://github.com/spotify/ramlfications/issues/29
+        .. _`Issue 22`: https://github.com/spotify/ramlfications/issues/22
+        .. _`waffle.io`: https://waffle.io/spotify/ramlfications
+        .. _`Issue 4`: https://github.com/spotify/ramlfications/issues/4
+        .. _`benhamill`: https://github.com/benhamill
+        .. _`nvillalva`: https://github.com/nvillalva
+        .. _`jhl2343`: https://github.com/jhl2343
+        .. _`Issue 21`: https://github.com/spotify/ramlfications/issues/21
+        .. _`cerivera`: https://github.com/cerivera
+        .. _`Issue 44`: https://github.com/spotify/ramlfications/issues/44
+        .. _`Issue 23`: https://github.com/spotify/ramlfications/issues/23
+        .. _`matiasb`: https://github.com/matiasb
+        .. _`PR 55`: https://github.com/spotify/ramlfications/pull/55
+        .. _`Issue 47`: https://github.com/spotify/ramlfications/issues/47
+        .. _`Issue 37`: https://github.com/spotify/ramlfications/issues/37
+        .. _`Issue 56`: https://github.com/spotify/ramlfications/issues/56
+        
+Keywords: raml,rest
+Platform: UNKNOWN
+Classifier: Development Status :: 4 - Beta
+Classifier: Intended Audience :: Developers
+Classifier: Natural Language :: English
+Classifier: License :: OSI Approved :: Apache Software License
+Classifier: Operating System :: OS Independent
+Classifier: Programming Language :: Python
+Classifier: Programming Language :: Python :: 2
+Classifier: Programming Language :: Python :: 2.6
+Classifier: Programming Language :: Python :: 2.7
+Classifier: Programming Language :: Python :: 3
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
+Classifier: Programming Language :: Python :: Implementation :: CPython
+Classifier: Programming Language :: Python :: Implementation :: PyPy
+Classifier: Topic :: Software Development :: Libraries :: Python Modules
diff --git a/README.rst b/README.rst
new file mode 100644
index 0000000..50aedd8
--- /dev/null
+++ b/README.rst
@@ -0,0 +1,129 @@
+ramlfications: RAML reference implementation in Python
+======================================================
+
+.. image:: https://img.shields.io/travis/spotify/ramlfications.svg?style=flat-square
+   :target: https://travis-ci.org/spotify/ramlfications
+   :alt: CI status
+
+.. image:: https://img.shields.io/pypi/v/ramlfications.svg?style=flat-square
+   :target: https://pypi.python.org/pypi/ramlfications/
+   :alt: Latest Version
+
+.. image:: https://img.shields.io/pypi/status/ramlfications.svg?style=flat-square
+    :target: https://pypi.python.org/pypi/ramlfications/
+    :alt: Development Status
+
+.. image:: https://img.shields.io/pypi/l/ramlfications.svg?style=flat-square
+   :target: https://github.com/spotify/ramlfications/blob/master/LICENSE
+   :alt: License
+
+.. image:: https://codecov.io/github/spotify/ramlfications/coverage.svg?branch=master
+   :target: https://codecov.io/github/spotify/ramlfications?branch=master
+   :alt: Current coverage
+
+.. image:: https://img.shields.io/pypi/pyversions/ramlfications.svg?style=flat-square
+    :target: https://pypi.python.org/pypi/ramlfications/
+    :alt: Supported Python versions
+
+
+.. begin
+
+Requirements and Installation
+=============================
+
+User Setup
+----------
+
+The latest stable version can be found on PyPI_, and you can install via pip_::
+
+   $ pip install ramlfications
+
+``ramlfications`` runs on Python 2.6, 2.7, and 3.3+, and PyPy. Both Linux and OS X are supported. Currently, only RAML 0.8 is supported, but there are plans_ to support 1.0.
+
+Continue onto `usage`_ to get started on using ``ramlfications``.
+
+
+Developer Setup
+---------------
+
+If you'd like to contribute or develop upon ``ramlfications``, be sure to read `How to Contribute`_
+first.
+
+You can see the progress of ``ramlfications`` on our public `project management`_ page.
+
+System requirements:
+^^^^^^^^^^^^^^^^^^^^
+
+- C Compiler (gcc/clang/etc.)
+- If on Linux - you'll need to install Python headers (e.g. ``apt-get install python-dev``)
+- Python 2.6, 2.7, 3.3+, or PyPy
+- virtualenv_
+
+Here's how to set your machine up::
+
+    $ git clone git at github.com:spotify/ramlfications
+    $ cd ramlfications
+    $ virtualenv env
+    $ source env/bin/activate
+    (env) $ pip install -r dev-requirements.txt
+
+
+Run Tests
+^^^^^^^^^
+
+If you'd like to run tests for all supported Python versions, you must have all Python versions
+installed on your system.  I suggest pyenv_ to help with that.
+
+To run all tests::
+
+    (env) $ tox
+
+To run a specific test setup (options include: ``py26``, ``py27``, ``py33``, ``py34``, ``pypy``,
+``flake8``, ``verbose``, ``manifest``, ``docs``, ``setup``, ``setupcov``)::
+
+    (env) $ tox -e py26
+
+To run tests without tox::
+
+    (env) $ py.test
+    (env) $ py.test --cov ramlfications --cov-report term-missing
+
+
+Build Docs
+^^^^^^^^^^
+
+Documentation is build with Sphinx_, written in rST, uses the `Read the Docs`_ theme with
+a slightly customized CSS, and is hosted on `Read the Docs site`_.
+
+To rebuild docs locally, within the parent ``ramlfications`` directory::
+
+    (env) $ tox -e docs
+
+or::
+
+    (env) $ sphinx-build -b docs/ docs/_build
+
+Then within ``ramlfications/docs/_build`` you can open the index.html page in your browser.
+
+
+Still have issues?
+^^^^^^^^^^^^^^^^^^
+
+Feel free to drop by ``#ramlfications`` on Freenode (`webchat`_) or ping via `Twitter`_.
+"roguelynn" is the maintainer, a.k.a `econchick`_ on GitHub, and based in San Fran.
+
+
+.. _pip: https://pip.pypa.io/en/latest/installing.html#install-pip
+.. _PyPI: https://pypi.python.org/project/ramlfications/
+.. _virtualenv: https://virtualenv.pypa.io/en/latest/
+.. _pyenv: https://github.com/yyuu/pyenv
+.. _Sphinx: http://sphinx-doc.org/
+.. _`Read the Docs`: https://github.com/snide/sphinx_rtd_theme
+.. _`Read the Docs site`: https://ramlfications.readthedocs.org
+.. _`usage`: http://ramlfications.readthedocs.org/en/latest/usage.html
+.. _`How to Contribute`: http://ramlfications.readthedocs.org/en/latest/contributing.html
+.. _`webchat`: http://webchat.freenode.net?channels=%23ramlfications&uio=ND10cnVlJjk9dHJ1ZQb4
+.. _`econchick`: https://github.com/econchick
+.. _`Twitter`: https://twitter.com/roguelynn
+.. _`project management`: https://waffle.io/spotify/ramlfications
+.. _plans: https://github.com/spotify/ramlfications/issues/54
diff --git a/dev-requirements.txt b/dev-requirements.txt
new file mode 100644
index 0000000..2c23456
--- /dev/null
+++ b/dev-requirements.txt
@@ -0,0 +1,12 @@
+-r requirements.txt
+Sphinx==1.2.3
+check-manifest==0.21
+coverage==3.7.1
+flake8==2.2.3
+sphinx-rtd-theme==0.1.6
+tox==1.7.2
+pytest==2.6.4
+pytest-cov==1.8.1
+mock==1.0.1
+pytest-mock==0.4.3
+pytest-localserver==0.3.4
diff --git a/docs/Makefile b/docs/Makefile
new file mode 100644
index 0000000..c5bbf0d
--- /dev/null
+++ b/docs/Makefile
@@ -0,0 +1,177 @@
+# Makefile for Sphinx documentation
... 96429 lines suppressed ...

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-ramlfications.git



More information about the Python-modules-commits mailing list