[](https://travis-ci.org/drgarcia1986/muffin-motor)
Muffin-Motor -- A simple [MOTOR](https://github.com/mongodb/motor) plugin for [muffin framework](https://github.com/klen/muffin).
## Requirements
- python >= 3.4
- muffin >= 0.1.6
- motor >= 0.5
## Installation
**Muffin-Motor** should be installed using pip:
```
pip install git+https://github.com/drgarcia1986/muffin-motor.git
```
## Usage
Add Muffin-Motor to muffin plugin list:
```python
import muffin
app = muffin.Application(
'example',
PLUGINS=(
'muffin_motor',
)
)
```
And use *motor* plugin:
```python
@app.register('/example')
class Example(muffin.Handler):
@asyncio.coroutine
def get(self, request):
collection = app.ps.motor.test
doc = yield from collection.find_one({'test': 'foo'})
return doc
```
## Bug tracker
If you have any suggestions, bug reports or
annoyances please report them to the issue tracker
at https://github.com/drgarcia1986/muffin-motor/issues
## Contributing
Development of Muffin-Motor happens at: https://github.com/drgarcia1986/muffin-motor
## Contributors
* [Diego Garcia](https://github.com/drgarcia1986)
Metadata
Release files for muffin-motor 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| muffin-motor-0.0.1.tar.gz | 3.4 kB | Without provenance | Details for muffin-motor-0.0.1.tar.gz |
Release files / muffin-motor-0.0.1.tar.gz
| Download URL | muffin-motor-0.0.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5e3a67794c751ac5f56359cfbb31c0fbf9b5c51f5a5cdcb912f44f0af5ea6797
|
|
BLAKE2b-256 checksum How to use checksums |
23f46c892923e76303f1c292c874763493e5a04eb033f7d683391b1e0c656256
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for muffin-motor 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.