Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
corepost
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
nexlab
corepost
Commits
0931abdd
Commit
0931abdd
authored
Mar 05, 2012
by
Jacek Furmankiewicz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
corrected docs and setup,py
parent
812cc788
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
setup.py
setup.py
+8
-3
No files found.
setup.py
View file @
0931abdd
...
@@ -2,11 +2,12 @@
...
@@ -2,11 +2,12 @@
Twisted REST micro-framework
Twisted REST micro-framework
================================
================================
Based on *Flask* API, with integrated multiprocessing support for full usage of all CPUs.
Based on *Flask* API, with
plans for
integrated multiprocessing support for full usage of all CPUs.
Provides a more Flask/Sinatra-style API on top of the core *twisted.web* APIs.
Provides a more Flask/Sinatra-style API on top of the core *twisted.web* APIs.
Integrates FormEncode for path, form and query argument validation.
Integrates FormEncode for path, form and query argument validation.
The simplest possible twisted.web CorePost REST application:
An example of a multi--module twisted.web CorePost REST application
which exposes two separate REST services (for a Customer and Customer Address entities):
::
::
...
@@ -87,6 +88,10 @@ The simplest possible twisted.web CorePost REST application:
...
@@ -87,6 +88,10 @@ The simplest possible twisted.web CorePost REST application:
if __name__ == "__main__":
if __name__ == "__main__":
run_rest_app()
run_rest_app()
And the BDD showing off its different features
https://github.com/jacek99/corepost/blob/master/corepost/test/feature/rest_app.feature
Links
Links
`````
`````
...
@@ -98,7 +103,7 @@ Changelog
...
@@ -98,7 +103,7 @@ Changelog
`````````
`````````
* 0.0.12:
* 0.0.12:
- backwards incompatible change: added advance
r
URL routing for nested REST services.
- backwards incompatible change: added advance
d
URL routing for nested REST services.
CorePost object is gone, REST services are now just standard classes.
CorePost object is gone, REST services are now just standard classes.
They get wrapped in a RESTResource object (see sample above) when exposed
They get wrapped in a RESTResource object (see sample above) when exposed
* 0.0.11:
* 0.0.11:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment