Skip to main content

BoxMongodb

boxmongodb is a lightweight ORM framework for Python and MongoDB

http://i.v2ex.co/53fQFgQ3.gif

https://github.com/ccdjh/boxmongodb

pip install (ubuntu ):

sudo apt-get install mongodb
sudo apt-get install python-pip

sudo pip install boxmongodb

example (ubuntu):

from boxmongodb import boxmongodb

class mongoMyAnBox_counter(boxmongodb.Model):
    username = boxmongodb.StringProperty()
    num      = boxmongodb.IntegerProperty(default="1")

def main():
        a = "CcdjhMarx"
        b    = "1984"
        m = mongoMyAnBox_counter(username=a,num=b)
        m.insert()

if __name__ == '__main__':
    main()

Property class:

StringProperty ,DateTimeProperty ,IntegerProperty ,LinkProperty ,
AuthProperty ,DictProperty ,EmailProperty

Function:

insert , update , update_id
find,find_all,find_id,insert_dict,remove,remove_all,update_id_dict

Metadata

Release files for boxmongodb 0.0.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for boxmongodb 0.0.10
File Size Uploaded Provenance Actions
boxmongodb-0.0.10.tar.gz 2.9 kB Without provenance Details for boxmongodb-0.0.10.tar.gz

Release files / boxmongodb-0.0.10.tar.gz

Download URL boxmongodb-0.0.10.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
4c3b4931d9545bb9d4051e11f6cbc3bee774ae9874bdbb129ff0baeadb307447
BLAKE2b-256 checksum
How to use checksums
86c6db2478225204c1ccb222d9b286e4dc2d9b0a7f94dae912a4c7d6dd4c94e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for boxmongodb 0.0.10

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page