A Python RAML parser
Project description
ramlfications: RAML reference implementation in Python
======================================================
.. image:: https://pypip.in/version/ramlfications/badge.svg
:target: https://pypi.python.org/pypi/ramlfications/
:alt: Latest Version
.. image:: https://travis-ci.org/econchick/ramlfications.png?branch=master
:target: https://travis-ci.org/spotify/ramlfications
:alt: CI status
.. image:: https://coveralls.io/repos/econchick/ramlfications/badge.png?branch=master
:target: https://coveralls.io/r/spotify/ramlfications?branch=master
:alt: Current coverage
.. image:: https://readthedocs.org/projects/ramlfications/badge/?version=latest
:target: https://readthedocs.org/projects/ramlfications/?badge=latest
:alt: Documentation Status
.. 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.
Continue onto :doc:`usage` to get started on using ``ramlfications``.
Developer Setup
---------------
If you'd like to contribute or develop upon ``ramlfications``, be sure to read :doc:`contributing`
first.
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@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.
.. _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
======================================================
.. image:: https://pypip.in/version/ramlfications/badge.svg
:target: https://pypi.python.org/pypi/ramlfications/
:alt: Latest Version
.. image:: https://travis-ci.org/econchick/ramlfications.png?branch=master
:target: https://travis-ci.org/spotify/ramlfications
:alt: CI status
.. image:: https://coveralls.io/repos/econchick/ramlfications/badge.png?branch=master
:target: https://coveralls.io/r/spotify/ramlfications?branch=master
:alt: Current coverage
.. image:: https://readthedocs.org/projects/ramlfications/badge/?version=latest
:target: https://readthedocs.org/projects/ramlfications/?badge=latest
:alt: Documentation Status
.. 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.
Continue onto :doc:`usage` to get started on using ``ramlfications``.
Developer Setup
---------------
If you'd like to contribute or develop upon ``ramlfications``, be sure to read :doc:`contributing`
first.
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@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.
.. _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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ramlfications-0.1.0a1.tar.gz
(524.0 kB
view details)
Built Distribution
File details
Details for the file ramlfications-0.1.0a1.tar.gz
.
File metadata
- Download URL: ramlfications-0.1.0a1.tar.gz
- Upload date:
- Size: 524.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acd2f99eb69cce92fbd61735d2a5a7b3a824cd7302616637533842e7b2a1f53b |
|
MD5 | e5d37805a3e572aa076e79fb5f86da61 |
|
BLAKE2b-256 | 3d0ea45dac5198b287c21aa637cac0fe39b056c57c0ee948275c1e7dbcaffa2e |
File details
Details for the file ramlfications-0.1.0a1-py2.py3-none-any.whl
.
File metadata
- Download URL: ramlfications-0.1.0a1-py2.py3-none-any.whl
- Upload date:
- Size: 35.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 750be982f218d99d62435ab2faac668129359cf5f19cdace4b398060545268e4 |
|
MD5 | fc24fa9da58a6945d128450754f16c32 |
|
BLAKE2b-256 | 1f48fa98847982db8962d137b9d4ec2c960d96650d824cb224f3445f97e67db7 |