A Python RAML parser
Project description
ramlfications: RAML reference implementation in Python
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
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
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
Built Distribution
File details
Details for the file ramlfications-0.1.1.tar.gz
.
File metadata
- Download URL: ramlfications-0.1.1.tar.gz
- Upload date:
- Size: 861.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f359f9736386e78660c3b9dc8b867ec754f5afb690de31f4eaf94e576c89c39 |
|
MD5 | b8cf591db902e1724f9eb00556d07808 |
|
BLAKE2b-256 | c3e1e1dedf3572993ca573a5ce6c0816c0891e66cd4cc8c0f7f8834838b14104 |
File details
Details for the file ramlfications-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: ramlfications-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 38.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e09ef5083ec0a9ce0349d0c62db2953f00371f2ad2410a562b3bebac7290dd6 |
|
MD5 | 37a08926c868704baaa12f697afcdc20 |
|
BLAKE2b-256 | 4b93812d9d3c701bc5f2d71414241b0a34a863d5b25d5dda3fe852536ecff4c8 |