tag:blogger.com,1999:blog-18508356.post3309787348248281790..comments2026-02-13T11:24:21.556-05:00Comments on Just a little Python: Ming 0.1 Released - Python Library for MongoDBRick Copelandhttp://www.blogger.com/profile/11612114223288841087noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-18508356.post-64861283406109864032011-07-25T17:42:59.505-04:002011-07-25T17:42:59.505-04:00This comment has been removed by a blog administrator.Roomba Vacuumhttp://www.roombavacuumreviewsite.com/noreply@blogger.comtag:blogger.com,1999:blog-18508356.post-23695947187924628872010-08-28T09:03:45.490-04:002010-08-28T09:03:45.490-04:00This comment has been removed by a blog administrator.smshttp://www.bestsmssite.comnoreply@blogger.comtag:blogger.com,1999:blog-18508356.post-70035965381599854412010-08-01T15:58:26.317-04:002010-08-01T15:58:26.317-04:00This comment has been removed by a blog administrator.VOIP Headphoneshttp://www.onyxtic.com/computer/voip_headphones.phpnoreply@blogger.comtag:blogger.com,1999:blog-18508356.post-60549256770258607872010-04-19T11:40:35.099-04:002010-04-19T11:40:35.099-04:00Rick, Me again! I&#39;ve been using ming a bit now...Rick,<br />Me again! I&#39;ve been using ming a bit now and really like it. But, I&#39;ve run into something and I&#39;m wondering if you have any recommendations.<br /><br />I&#39;d like to programmatically get a list of all Fields that are &#39;reportable&#39; in order to implement a reporting like feature.<br /><br />name = Field(str, reportable=True)<br /><br />In addition, nested document fields may or may not be reportable.<br /><br />So, it seems like one option would be to subclass SchemaItem (and DocumentMeta I suppose) and have it keep *args and **kwargs so they can be referenced later. That is, schema_item.kwargs.get(&#39;reportable&#39;)<br /><br />With this, I can iterate the schema and find the reportable fields (or any other &#39;extra&#39; attributes). good/bad/other?jdognoreply@blogger.comtag:blogger.com,1999:blog-18508356.post-33015907577103530722010-02-11T15:24:20.471-05:002010-02-11T15:24:20.471-05:00This comment has been removed by a blog administrator.Unknownhttps://www.blogger.com/profile/18105124833908945021noreply@blogger.comtag:blogger.com,1999:blog-18508356.post-70717009470434194332010-01-21T10:12:17.325-05:002010-01-21T10:12:17.325-05:00@jdog I think the idea of setting __mongometa__.na...@jdog<br />I think the idea of setting __mongometa__.name to a custom descriptor makes a lot of sense. You might, in fact, want to use a regular object for __mongometa__ rather than the inner class I use in the docs; that might work a little better for your use case. Just make sure it has the attributes you need.Rick Copelandhttps://www.blogger.com/profile/11612114223288841087noreply@blogger.comtag:blogger.com,1999:blog-18508356.post-21552699473019946882010-01-21T02:44:05.420-05:002010-01-21T02:44:05.420-05:00@rick Great to hear the ORM mapping will be added....@rick<br />Great to hear the ORM mapping will be added. It looks like you&#39;ve got a good deal of experience with ORMs too, so I&#39;m sure it&#39;ll be nice.<br /><br />Let me ask one question here: is there a way I can vary the collection name at runtime for a given document? For example, based on the current subdomain of the http request, I need to vary the mongo collection where documents are stored/retrieved. (I realize this probably a rare requirement, so I may need to hack a solution.)<br /><br />It appears I could set __mongometa__.name to a custom descriptor, and have that descriptor return my collection name based on the current request. Recommendations?<br /><br /><br />I&#39;ll send any other feedback your way. Thanks and keep up the great work!jdognoreply@blogger.comtag:blogger.com,1999:blog-18508356.post-88823498707568471302010-01-20T10:59:30.591-05:002010-01-20T10:59:30.591-05:00@jdog - Thanks for the kind words! The initial re...@jdog - Thanks for the kind words! The initial release of Ming was focused on schema enforcement and migration. 0.2 (which you can get now from git) is focused on a higher-level &quot;ORM-style&quot; mapping. Right now, we have document relationships (read-only) implemented and will probably have those read-write before the 0.2 release. Let me know what you think of the library! And we&#39;re always happy to take contributions. :-)Rick Copelandhttps://www.blogger.com/profile/11612114223288841087noreply@blogger.comtag:blogger.com,1999:blog-18508356.post-31486136615327768612010-01-19T18:56:01.577-05:002010-01-19T18:56:01.577-05:00Looks pretty interesting. Certainly way better th...Looks pretty interesting. Certainly way better than my homebrew mongo library. I&#39;m currently using using formencode to convert/validate incoming user data, then saving to db (no schema enforcement at the db level). <br /><br />Is schema enforcement and migration help the primary goal of this project or will do you see it taking on other aspects as well (document relationships, enhanced querying)? I know its only 0.1, but just curious as to where it is headed :)<br /><br />I&#39;ll download it and try it out. May be able to replace my current solution without too much hassle.jdognoreply@blogger.comtag:blogger.com,1999:blog-18508356.post-72878075111718363792010-01-07T08:27:14.471-05:002010-01-07T08:27:14.471-05:00This comment has been removed by a blog administrator.elizashttps://www.blogger.com/profile/04952146831007713391noreply@blogger.comtag:blogger.com,1999:blog-18508356.post-9279149975636088112009-12-09T02:58:29.529-05:002009-12-09T02:58:29.529-05:00FYI: there is another ming library dealing with fl...FYI: there is another ming library dealing with flash SWFNikinoreply@blogger.comtag:blogger.com,1999:blog-18508356.post-5572052877697614802009-12-07T17:52:23.878-05:002009-12-07T17:52:23.878-05:00This is a really cool looking project - thanks for...This is a really cool looking project - thanks for releasing it.<br /><br />@Chris: c5t looks really great too<br /><br />@both: I&#39;d like to add these projects to this page:<br />http://api.mongodb.org/python/1.1.2%2B/tools.html<br /><br />If you want some control over what&#39;s there just fork and add your projects and I&#39;ll merge it back in.Mike Dirolfhttp://www.dirolf.comnoreply@blogger.comtag:blogger.com,1999:blog-18508356.post-88833402607195663512009-12-07T17:36:13.006-05:002009-12-07T17:36:13.006-05:00Thanks to you and Mark and SF.net for getting this...Thanks to you and Mark and SF.net for getting this out there. The TurboGears team and I have been hard at work building a CMS based on this technology. It can be seen at:<br /><br />http://bitbucket.org/percious/c5t/<br /><br />cheers.<br />-chrisChris Perkinshttps://www.blogger.com/profile/06849704999486016666noreply@blogger.com