Skip to main content

A Python RAML parser

Project description

ramlfications: RAML reference implementation in Python

Latest Version CI status Current coverage Documentation Status

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 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.

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.

Project details


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.0b2.tar.gz (861.2 kB view details)

Uploaded Source

Built Distribution

ramlfications-0.1.0b2-py2.py3-none-any.whl (38.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file ramlfications-0.1.0b2.tar.gz.

File metadata

File hashes

Hashes for ramlfications-0.1.0b2.tar.gz
Algorithm Hash digest
SHA256 0560858d370de3b7b8bc80915deb2b30cad252025171a930782bb32948ff84f1
MD5 c69895660c3997121f18ea9974ab04cd
BLAKE2b-256 8808d27c3357284b89575558f0b0001b1e1173875aad500e20ce573f4c5972a3

See more details on using hashes here.

File details

Details for the file ramlfications-0.1.0b2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for ramlfications-0.1.0b2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e136457c5ed8953ed3fe03f34fea9905cdb5aca54509d7900c94f1bf69fb2ef4
MD5 95add36e7ae618cb35ded8dfa87f8e31
BLAKE2b-256 2c3018e47628bf8399352b8830d44f57f1e055aaf6759e235b847cd0a55f661f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page