Git Product home page Git Product logo

pinax-api's Introduction

Pinax API

Pinax

Pinax is an open-source platform built on the Django Web Framework. It is an ecosystem of reusable Django apps, themes, and starter project templates.

This app is part of the Pinax ecosystem and is designed for use both with and independently of other Pinax apps.

pinax-api

pinax-api is a RESTful API adhering to the JSON API specification.

Getting Started and Documentation

Follow the steps outlined in Pinax API Documentation.

Contribute

See this blog post including a video, or our How to Contribute section for an overview on how contributing to Pinax works. For concrete contribution ideas, please see our Ways to Contribute/What We Need Help With section.

In case of any questions we recommend you join our Pinax Slack team and ping us there instead of creating an issue on GitHub. Creating issues on GitHub is of course also valid but we are usually able to help you faster if you ping us in Slack.

We also highly recommend reading our Open Source and Self-Care blog post.

Code of Conduct

In order to foster a kind, inclusive, and harassment-free community, the Pinax Project has a code of conduct, which can be found here http://pinaxproject.com/pinax/code_of_conduct/. We ask you to treat everyone as a smart human programmer that shares an interest in Python, Django, and Pinax with you.

Pinax Project Blog and Twitter

For updates and news regarding the Pinax Project, please follow us on Twitter at @pinaxproject and check out our blog http://blog.pinaxproject.com.

pinax-api's People

Contributors

brosner avatar ethanmcc avatar grahamu avatar katherinemichel avatar paltman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pinax-api's Issues

Test against the API documentation or vice-versa

Public documentation for pinax-api endpoints comes from resource endpoint docstrings. This information is the contract between the developer and the resource consumer.

Endpoint tests verify proper results, but test results and documentation are not connected, so when tests change but documentation does not there is a problem.

We'd be well served by some kind of connection between tests and the API documentation, for both consistency and DRY (expected results only written once).

help with installing pinax-api

pip install -vvv pinax-api
Collecting pinax-api
1 location(s) to search for versions of pinax-api:

Call for Maintainers

Looking for maintainers!

There is a lot of pull requests and open issues that the current maintainers, myself included, are just not finding the time to properly get to.

Maybe you've submitted some PRs and are frustrated with the lack of attention. Maybe you use this project in one or more of your projects and want to see that it is properly carried forward.

Whatever you reasons may be, let me know if you have interest and I'll add you to the repo and to PyPI (will need your PyPI name).

Preference will go to those who have commits on this repo and/or have shown an active interest in the issues.

Thanks!
Patrick

endpoint method missing docstring causes documentation failure

If an API endpoint, i.e. "create" is missing a docstring, the automatic documentation feature fails with 'NoneType' object has no attribute 'expandtabs', originating here:

  File "/Users/graham/.pyenv/versions/3.5.2/lib/python3.5/site-packages/pinax/api/docs.py", line 61, in endpointset_actions
    doc = trim(view.__doc__).splitlines()

The fix is simple, add test for if view.__doc__ in the preceding conditional and continue if docstring is empty.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.