This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

resumeschema is a json-schema validator for the resume-schema spec.

resumeschema is mostly just a wrapper around jsonschema.

Installation

$ [sudo] pip install resumeschema

API

validate(instance)

Check if the provided instance is valid under the resume-schema spec.

Returns nothing.

Raises a jsonschema.ValidationError on error.

import resumeschema
instance = {
    'basics': {
        'name': 'Resume Schema',
    },
}
resumeschema.validate(instance)

is_valid(instance)

Check if the provided instance is valid under the resume-schema spec.

Returns True if valid False if not.

import resumeschema
instance = {
    'basics': {
        'name': 'Resume Schema',
    },
}
if resumeschema.is_valid(instance):
    print 'It is valid!'

iter_errors(instance)

Get an iterator to iterate any jsonschema.ValidationErrors from the provided instance.

Returns an iterator of jsonschema.ValidationErrors.

import resumeschema
invalid_instance = {
    'basics': {
        # `first_name` is not a supported field
        'first_name': 'Resume Schema',
    },
}
for error in resumeschema.iter_errors(invalid_instance):
    print error.message

validator

An instance of jsonschema.Draft4Validator to use as you so choose.

import resumeschema
instance = {
    'basics': {
        'name': 'Resume Schema',
    },
}
resumeschema.validator.validate(instance)
Release History

Release History

1.0.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
resumeschema-1.0.0.tar.gz (7.0 kB) Copy SHA256 Checksum SHA256 Source Mar 17, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting