pyramid_royal's People
pyramid_royal's Issues
Project status?
Hey @hadrien, long time no see 😎
Do you think this project still has value (convention-over-configuration scaffolding for RESTful web services on top of Pyramid), or that truly good generic lib can’t be done and each project should define its mini-framework (like the one we both know that parses swagger spec to derive request validation schema)?
Missing license
MIT license is missing.
HTTP 500 error when using POST verb on Item resources.
File "venv/local/lib/python2.7/site-packages/royal/views.py", line 123, in not_allowed
else context),
File "venv/local/lib/python2.7/site-packages/pyramid/url.py", line 534, in resource_url
url_adapter = ResourceURL(resource, self)
File "venv/local/lib/python2.7/site-packages/pyramid/traversal.py", line 736, in __init__
physical_path_tuple = resource_path_tuple(resource)
File "venv/lib/python2.7/site-packages/pyramid/traversal.py", line 388, in resource_path_tuple
return tuple(_resource_path_list(resource, *elements))
File "venv/local/lib/python2.7/site-packages/pyramid/traversal.py", line 394, in _resource_path_list
path = [loc.__name__ or '' for loc in lineage(resource)]
AttributeError: 'ItemView' object has no attribute '__name__'
This is caused by the fact that the creation of the royal.exceptions.MethodNotAllowed instance is passed an ItemView instead of a resource instance in ItemView.post.
presources prints erroneous patterns on single resources.
Add metadata in setup.cfg
Doc URL, classifiers (including license, see #1), etc.
Remove bson formatter
Supporting BSON was a nice proof of concept for the royal renderer, but I don’t think it’s really useful, and it brings a dependency on pymongo. I think it’s out of scope for royal and should be removed.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.