Tag Archives: YAML

Excel or YAML driven frontend form tester on NodeJS with phantomjs.


via YusukeHirao/fitbot · GitHub.

Form input test bot

A module to input field names the YAML or Excel data that has been described is automatically to the web form.

RESTifying Your Business Data with REST APIs


What is API Notebook?
The API Notebook is a web-based, persistent, JavaScript scripting workspace that enables the live exploration of APIs, testing APIs, and working through use cases. The notebook auto-generates an API client by pointing it to the API’s RAML description.

API Notebook enables developers to create interactive API examples, runnable JavaScript snippets, and is embedded anywhere. You can create scripts and it automatically saves them as Gists in GitHub, so they’re forkable and shareable. They’re also a great example of literate programming.

In his talk, API Notebook creator Uri Sarid, current CTO at MuleSoft discusses API Notebook and its basic capabilities. He also gives an introduction to RAML, a simple way to describe a REST API. He is co-author of the RAML specification, a YAML-based language to describe practically-RESTful APIs.

A grunt task to auto document ECMA Script (JS) using Esprima.


A collection of Grunt tasks to auto document your ECMAScript (JavaScript) in JSDoc 3 using Esprima and ESCodeGen as well as lint those docs. It converts your code into YAML templates that (will be) converted to JSDocs. The YAML stage allows you to fill in stubbed examples and other details that cannot be generated from the provided Esprima code meta data. If Grunt isn’t your thing you can get a pure Node.js version here. Read Full>>

Django app allowing for filtered exporting of model object data.


docs/images Updated sample images 25 days ago
export Hotfix: removed file path from template 12 hours ago
.gitignore Excluded dist dir 20 days ago
.pep8 Added pep8 exclusions a month ago
.travis.yml Added tox env for django 1.7 27 days ago
AUTHORS.rst ready for release 3 years ago
CHANGELOG.rst Version bump 17 days ago
LICENSE first commit 3 years ago
MANIFEST.in ready for release 3 years ago
README.rst Fixed readme images 25 days ago
setup.py Version bump 17 days ago
test_settings.py Added dummy email backend 25 days ago
tox.ini Added tox for multi-version dependancy testing a month ago

Django Export

Django app allowing for filtered exporting of model object data.

django-export allows you to export model objects in a wide range of serialized formats (JSON, CSV, XML, YAML). Exports can be filtered and ordered on any of the particular model’s fields.

django-export utilizes django-object-tools to hook into Django’s admin interface and take care of user permissions.

Contents

Installation

  1. Install django-object-tools as described here.
  2. Install or add django-export to your Python path.
  3. Add export to your INSTALLED_APPS setting.
  4. Optionally for exporting in CSV you need to add export.serializers.csv_serializer to yourSERIALIZATION_MODULES setting, i.e.:
    SERIALIZATION_MODULES = {
        'csv': 'export.serializers.csv_serializer'
    }
    

Usage

Once installed you should see an Export object tool enabled on all admin change list views.

https://raw.githubusercontent.com/praekelt/django-export/feature/issue-9-mail-export-data/docs/images/export_example.png

If you don’t see the tool make sure the logged in user has the appropriate export user permission assigned (or set user as superuser).

Clicking the Export tool link takes you to an export page on which you can specify format, ordering and filtering of the objects you want to export. The export is delivered as a download in whichever format you select.

Developing the Swagger Editor: Lessons Learned


Developing the Swagger Editor: Lessons Learned

Swagger has become the standard for defining APIs in JSON with a huge community and a diverse set of tools. Apigee began to contribute to the tooling during the working group’s definition of the 2.0 of Swagger specification. We embraced JSON Schema for validation and particularly invested in the API design-first workflows that a YAML-based format for editing enables.