Giter VIP home page Giter VIP logo

peppercorn's Introduction

Pylons

Build Status

Pylons is a rapid web application development framework.

Note

Pylons has merged with repoze.bfg, and is now in maintenance-only mode. It's highly recommended that new projects start with the new merged web framework, pyramid.

Install

Read the online Installation instructions.

If you want to install from source you can run the following command:

$ python setup.py install

This will display a message and download setuptools if the module is not already installed. It will then install Pylons and all its dependencies. You may need root privileges to install setuptools.

Testing

To test the source distribution run the following command:

$ python setup.py test

This will install additional dependencies needed for the tests. As above, you may need root privileges.

Documentation

Read the complete Pylons web framework documentation.

Definitive Guide to Pylons is a book about Pylons published by Apress, written by James Gardner, with free HTML rendering.

Generating documentation requires Sphinx:

$ easy_install Sphinx

Then to build the documentation use the commands:

$ cd pylons/docs/<lang>
$ make html

peppercorn's People

Contributors

aodag avatar hathawsh avatar mcdonc avatar sallner avatar stevepiercy avatar tisdall avatar tseaver avatar vung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar

peppercorn's Issues

Naming conflict in HTML due to multiple __start__ tokens

The nested example in the documentation produces invalid HTML. Multiple input tags contain the identical name 'start', which is only allowed for types checkbox and radio.

So, when testing this web form with infrae.testbrowser this issue becomes blocking, because it produces the following assertion error:

"AssertionError: start: only checkbox and radio can be multiple inputs"

There should be away to distinguish multiple start (and end) tokens.

A simple solution can be to handle these tokens as postfix values (by checking with endswith() instead of equals), allowing any custom, unique prefix to be put in front of this token.

Release?

Not to be a pest (well โ€” maybe to be a pest) would it be possible to get a release made?

(I'm working on hardening my app against funky inputs. Peppercorn 0.4, the latest release, raises a StopIteration on peppercorn.parse([('__start__', u'foo:mapping')]). Master more properly raises ValueError.)

Thank you!

Multiple file select uploads

When using a file select input type (<input type="file" />), and adding more than one file (multiple), peppercorn seems to ignore all but the last file parsed.

Add contributing.md and update docs

Use Pyramid's contributing.md as a template.

Update docs to use modern Sphinx settings, including an rtd.txt file, and adding an environment to build docs for each PR. Also run linkcheck.

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.