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.
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
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.
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.
Changelog
0.1.7 (2015-08-20)
Added:
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:
0.1.4 (2015-05-27)
Added:
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!
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.7.tar.gz
.
File metadata
- Download URL: ramlfications-0.1.7.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 539d863a211a762fa808c4d4e053c90bfa9901110d424c931e8d1afafed6b930 |
|
MD5 | 259098b80aab88e16004edab1c55f2fc |
|
BLAKE2b-256 | 384c7d489f72d5d8879f12ea58f482556398418e30fdd31f4d6b09daea037576 |
File details
Details for the file ramlfications-0.1.7-py2.py3-none-any.whl
.
File metadata
- Download URL: ramlfications-0.1.7-py2.py3-none-any.whl
- Upload date:
- Size: 43.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91f3a0e713408b1f0c66b3f33b30f875e8f1e39e3792080e76988530444c4764 |
|
MD5 | fbf21402f204fcf6bb709d10ecdb39f7 |
|
BLAKE2b-256 | 84daa9ebd7ae641c76e73c4a32385862361b97944e7f350d96812ee3db5af4e3 |