Skip to content
This repository has been archived by the owner on Oct 27, 2019. It is now read-only.
/ ramlizer Public archive
forked from SandyChapman/ramlizer

A parser for the RAML (RESTful API Modeling Language) file format.

License

Notifications You must be signed in to change notification settings

freddrake/ramlizer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ramlizer

A parser for the RAML (RESTful API Modeling Language) file format.

Installation

To install the package without using Git, install via easy_install or pip:

$ easy_install ramlizer

$ pip install ramlizer

Use sudo as required!

To install the Git distribution, use:

$ git clone https://github.com/SandyChapman/ramlizer.git

Then, to use it locally:

$ cd /path/to/ramlizer/
$ python setup.py develop

Usage

import ramlizer
r = ramlizer.RamlFile(open('my-raml-file.raml', 'r'))
print(r)

Some usage for the RamlFile object:

print(r.root)
print(r.root.version)
print(r.root.resources)

Outstanding Work

Tests and refinements on the API. This project is still quite young, so expect some API changes over time.

About

A parser for the RAML (RESTful API Modeling Language) file format.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%