{ "info": { "author": "Sven Boesiger", "author_email": "ronnysven@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "TFMongoDB\n=========\n\nTFMongoDB is a C++ implemented dataset op for google's tensorflow that allows you\nto connect to your MongoDatabase natively. Hence you can access your mongodb stored\ndocuments more efficiently.\n\nCurrently only MacOS X is supported while Tensorflow >= 1.5 is required.\n\n----\n\nInstallation\n------------\nIn order to use the dataset you need to install it with pip::\n\n\tpip install tfmongodb\n\n----\n\n\nUsage\n-----\nTFMongoDB can be accessed through the MongoDBDataset::\n\n\n\tdataset = MongoDBDataset(, )\n\nexample::\n\n\n from tfmongodb import MongoDBDataset\n from tensorflow.python.framework import ops\n from tensorflow.python.data.ops import iterator_ops\n import tensorflow as tf\n\n CSV_TYPES = [[\"\"], [\"\"], [0]]\n\n def _parse_line(line):\n fields = tf.decode_csv(line, record_defaults=CSV_TYPES)\n return fields\n\n dataset = MongoDBDataset(\"eccounting\", \"creditors\")\n dataset = dataset.map(_parse_line)\n repeat_dataset2 = dataset.repeat()\n batch_dataset = repeat_dataset2.batch(20)\n\n iterator = iterator_ops.Iterator.from_structure(batch_dataset.output_types)\n #init_op = iterator.make_initializer(dataset)\n init_batch_op = iterator.make_initializer(batch_dataset)\n get_next = iterator.get_next()\n\n\n with tf.Session() as sess:\n # Basic test: read from topic 0.\n sess.run(init_batch_op, feed_dict={})\n\n for i in range(5):\n print(sess.run(get_next))\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://tfmongodb.org", "keywords": "tensorflow mongodb datascience", "license": "", "maintainer": "", "maintainer_email": "", "name": "TFMongoDB", "package_url": "https://pypi.org/project/TFMongoDB/", "platform": "", "project_url": "https://pypi.org/project/TFMongoDB/", "project_urls": { "Homepage": "https://tfmongodb.org" }, "release_url": "https://pypi.org/project/TFMongoDB/0.1.3/", "requires_dist": [ "tensorflow" ], "requires_python": "", "summary": "A Tensorflow MongoDB connector", "version": "0.1.3" }, "last_serial": 5007369, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "20185180fd4f6987abce0272600f005a", "sha256": "3564fff95b8fd1e2f03dea624383eae239cccee854ac9e590ddbced48ce7f968" }, "downloads": -1, "filename": "TFMongoDB-0.1.2-cp27-cp27m-macosx_10_13_x86_64.whl", "has_sig": false, "md5_digest": "20185180fd4f6987abce0272600f005a", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 65106, "upload_time": "2018-02-16T11:29:41", "url": "https://files.pythonhosted.org/packages/68/a0/ea375cdd36d5efffd3d4f0a7a2c295b5bf18cdb1144db6e978a98ef50682/TFMongoDB-0.1.2-cp27-cp27m-macosx_10_13_x86_64.whl" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "b065d410ea710be9d7d532b6920bc9b0", "sha256": "af0c1f00a5508f0af5750adcc35f1400ed35c5b8eda3878d6a5f420957823b29" }, "downloads": -1, "filename": "TFMongoDB-0.1.3-cp37-cp37m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "b065d410ea710be9d7d532b6920bc9b0", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 73530, "upload_time": "2019-03-30T15:44:41", "url": "https://files.pythonhosted.org/packages/31/33/94a4f16ff19abaf288297096ec02498770a79cb943d3f7678884e7f2892c/TFMongoDB-0.1.3-cp37-cp37m-macosx_10_14_x86_64.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b065d410ea710be9d7d532b6920bc9b0", "sha256": "af0c1f00a5508f0af5750adcc35f1400ed35c5b8eda3878d6a5f420957823b29" }, "downloads": -1, "filename": "TFMongoDB-0.1.3-cp37-cp37m-macosx_10_14_x86_64.whl", "has_sig": false, "md5_digest": "b065d410ea710be9d7d532b6920bc9b0", "packagetype": "bdist_wheel", "python_version": "cp37", "requires_python": null, "size": 73530, "upload_time": "2019-03-30T15:44:41", "url": "https://files.pythonhosted.org/packages/31/33/94a4f16ff19abaf288297096ec02498770a79cb943d3f7678884e7f2892c/TFMongoDB-0.1.3-cp37-cp37m-macosx_10_14_x86_64.whl" } ] }