pyramid-mongoengine package based in [flask-mongoengine](https://github.com/MongoEngine/flask-mongoengine)
## README In Progress
## Install
pip install pyramid-mongoengine
## Config
Basic setup
```python
if __name__ == "__main__":
config = Configurator()
config.include("pyramid_mongoengine")
config.add_connection_database()
```
`pyramid-mongoengine` provides `add_connection_database()`, he makes a connection with database
using data coming from .ini file.
```python
mongo_url = mongodb://my_ip_location_to_mongodb
mongodb_name = "my_db_application"
```
If theses data not exists in .ini, `pyramid-mongoengine` use default values
```python
# Default values
mongo_url = mongodb://localhost
mongodb_name = "test"
```
## Creating models
```python
from pyramid_mongoengine import MongoEngine
db = MongoEngine()
class User(db.Document):
email = db.StringField(required=True)
username = db.StringField(requred=True)
```
See [demo](https://github.com/marioidival/pyramid_mongoengine/blob/master/demos/app.py) application to examples
## Support on Beerpay
Hey dude! Help me out for a couple of :beers:!
[](https://beerpay.io/marioidival/pyramid_mongoengine) [](https://beerpay.io/marioidival/pyramid_mongoengine?focus=wish)
Metadata
Release files for pyramid-mongoengine 0.0.9
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 |
|---|---|---|---|---|
| pyramid-mongoengine-0.0.9.tar.gz | 4.9 kB | Without provenance | Details for pyramid-mongoengine-0.0.9.tar.gz |
Release files / pyramid-mongoengine-0.0.9.tar.gz
| Download URL | pyramid-mongoengine-0.0.9.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
631acf66d03abe8d02f18057de3db6b3f6cbd780425b5652714b10a3b37eda7d
|
|
BLAKE2b-256 checksum How to use checksums |
502d11c167d9d457661323f444caaa597d25eac710826e1284fc4c459ee82055
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyramid-mongoengine 0.0.9
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.