{"id":13814388,"url":"https://github.com/bitly/asyncmongo","last_synced_at":"2025-10-01T12:31:04.496Z","repository":{"id":1099545,"uuid":"960617","full_name":"bitly/asyncmongo","owner":"bitly","description":"An asynchronous library for accessing mongo with tornado.ioloop","archived":true,"fork":false,"pushed_at":"2016-08-04T02:59:42.000Z","size":446,"stargazers_count":608,"open_issues_count":28,"forks_count":105,"subscribers_count":106,"default_branch":"master","last_synced_at":"2025-09-17T07:45:45.058Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://github.com/bitly/asyncmongo","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bitly.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-10-04T13:45:10.000Z","updated_at":"2025-07-07T03:19:51.000Z","dependencies_parsed_at":"2022-07-15T07:30:39.999Z","dependency_job_id":null,"html_url":"https://github.com/bitly/asyncmongo","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/bitly/asyncmongo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitly%2Fasyncmongo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitly%2Fasyncmongo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitly%2Fasyncmongo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitly%2Fasyncmongo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bitly","download_url":"https://codeload.github.com/bitly/asyncmongo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bitly%2Fasyncmongo/sbom","scorecard":{"id":240363,"data":{"date":"2025-08-11","repo":{"name":"github.com/bitly/asyncmongo","commit":"3da47c96d4592ec9e8b3ef5cf1b7d5b439ab3a5b"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.3,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"project is archived","details":["Warn: Repository is archived."],"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":2,"reason":"Found 7/26 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 13 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-17T06:35:49.134Z","repository_id":1099545,"created_at":"2025-08-17T06:35:49.134Z","updated_at":"2025-08-17T06:35:49.134Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":277623115,"owners_count":25849183,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-30T02:00:09.208Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T04:01:55.766Z","updated_at":"2025-10-01T12:31:04.021Z","avatar_url":"https://github.com/bitly.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"asyncmongo\n==========\n\nAsyncMongo is an asynchronous library for accessing mongo \nwhich is built on the tornado ioloop.\n\n[![Build Status](https://travis-ci.org/bitly/asyncmongo.png?branch=master)](https://travis-ci.org/bitly/asyncmongo)\n\nInstallation\n------------\n\nInstalling: `pip install asyncmongo`\n\nUsage\n-----\n\nasyncmongo syntax strives to be similar to [pymongo](http://api.mongodb.org/python/current/api/pymongo/collection.html).\n\n    import asyncmongo\n    import tornado.web\n    \n    class Handler(tornado.web.RequestHandler):\n        @property\n        def db(self):\n            if not hasattr(self, '_db'):\n                self._db = asyncmongo.Client(pool_id='mydb', host='127.0.0.1', port=27017, maxcached=10, maxconnections=50, dbname='test')\n            return self._db\n    \n        @tornado.web.asynchronous\n        def get(self):\n            self.db.users.find({'username': self.current_user}, limit=1, callback=self._on_response)\n            # or\n            # conn = self.db.connection(collectionname=\"...\", dbname=\"...\")\n            # conn.find(..., callback=self._on_response)\n    \n        def _on_response(self, response, error):\n            if error:\n                raise tornado.web.HTTPError(500)\n            self.render('template', full_name=response['full_name'])\n\nAbout\n-----\n\nSome features are not currently implemented: \n\n* directly interfacing with indexes, dropping collections\n* retrieving results in batches instead of all at once \n(asyncmongo's nature means that no calls are blocking regardless of the number of results you are retrieving)\n* tailable cursors #15\n\n\nRequirements\n------------\nThe following two python libraries are required\n\n* [pymongo](http://github.com/mongodb/mongo-python-driver) version 1.9+ for bson library\n* [tornado](http://github.com/facebook/tornado)\n\nIssues\n------\n\nPlease report any issues via [github issues](https://github.com/bitly/asyncmongo/issues)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitly%2Fasyncmongo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbitly%2Fasyncmongo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbitly%2Fasyncmongo/lists"}