Package: cosmic
CosmicCosmic is a tiny web API framework based onTeleport.LinksWebsiteDocumentationDevelopment versionLicenseCopyright (C) 2014 8313547 Canada Inc.Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the “Software”), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND,  EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF  MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES  OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.ChangelogVersion 0.5.6(bugfix release, released on May 28th, 2015)Do not process ValidationError exceptions raised by views, let them bubble up
into the custom exception handler.Version 0.5.5(bugfix release, released on December 12th, 2014)Fix ValidationError for Link typeVersion 0.5.4(bugfix release, released on November 24th, 2014)Fix ImportError related to last fix.Version 0.5.3(bugfix release, released on November 24th, 2014)Documentation: note that Cosmic uses an out-of-date version of Teleport.Make it possible to install Teleport side-by-side by using a packaged copy.Version 0.5.2(bugfix release, released on September 14th, 2014)Fix bug in link representation, foreign links were represented as URLs of
the same model.Avoid reraising exceptions in http module to preserve original stack traces.Version 0.5.1(bugfix release, released on September 12th, 2014)Wrote documentation for thecosmic.globalsmodule.Implementedcosmic.globals.thread_local_middleware.Now the server doesn’t force the creation of a thread-local on every request,
it checks if one exists already. This allows using the middleware explicitly.Version 0.5.0Released on September 10th, 2014cosmic.Linktype’s JSON form is a string containing a URL, the “href”
part was moved intocosmic.BaseRepresentation. This makes the Link type
friendlier for actions.Version 0.4.2(bugfix release, released on August 25st, 2014)Actions with no accepts or returns parameters broke.Move API object storage (cosmos) out of thread-locals. This broke Cosmic
in multi-threaded environments.LetAPI.runacceptdebugparameter.ChangedServer.unhandled_exception_hookbehavior:Pass request object as second parameter.Don’t call it whenServer.debugis true.New thread-local API:SafeGlobalgone in favor ofSwappableDictandThreadLocalDictSwapping API instead of stack API.thread_localcontext manager takes care of cleaning up.Version 0.4.1(bugfix release, released on August 21st, 2014)Fixedcosmic.client.ClientLoggingMixinso that thelogvalue is JSON
serializable and the headers are represented consistently by lists of tuples.Added CHANGES fileImprovedlong_descriptionfor PyPI