asyncio transactional server to build REST API / Websocket with ZODB


Keywords
asyncio, ZODB, REST, Framework, transactional, aiohttp, api, json, plone
License
CNRI-Python-GPL-Compatible
Install
pip install plone.server==1.0a16

Documentation

WARNING: plone.server has been renamed to guillotina and moved to https://github.com/plone/guillotina

Introduction

https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat https://travis-ci.org/plone/plone.server.svg?branch=master

Please read the detailed docs

This is the working project of the next generation plone server based on asyncio.

  • depends on python >= 3.5

Getting started with development

We use buildout of course:

virtualenv .
./bin/pip install zc.buildout
./bin/buildout

The buildout installs the app itself, code analysis tools, and a test runner.

Run the zeo

To run the zeo on a different terminal:

./bin/runzeo -C zeo.cfg

Run the server

  • By default it mounts a zeo server and a ZODB so you need the ZEO server running.

To run the server:

./bin/server

Run tests

We're using py.test:

./bin/py.test src

and for test coverage:

./bin/py.test --cov=plone.server src/

Default

Default root access can be done with AUTHORIZATION header : Basic root:root