Metadata-Version: 2.1
Name: mongo_tfrecords
Version: 0.0.1
Summary: mongo-tfrecords - Library that exports mongodb data to tensorflow files (tf-record)
Home-page: https://github.com/felixfire/mongo-tfrecords
Author: Vadim Sharay
Author-email: vadimsharay@gmail.com
Maintainer: Vadim Sharay
Maintainer-email: vadimsharay@gmail.com
License: Apache License, Version 2.0
Description: <!--
         Copyright 2020 Vadim Sharay <vadimsharay@gmail.com>
        
         Licensed under the Apache License, Version 2.0 (the "License");
         you may not use this file except in compliance with the License.
         You may obtain a copy of the License at
        
             http://www.apache.org/licenses/LICENSE-2.0
        
         Unless required by applicable law or agreed to in writing, software
         distributed under the License is distributed on an "AS IS" BASIS,
         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
         See the License for the specific language governing permissions and
         limitations under the License.
         -->
        
        # mongo-tfrecords
        
        mongo-tfrecords - Library that exports mongodb data to tensorflow files (tf-record)
        
        ## Installation
        
        `pip install mongo-tfrecords`
        
        
        ## Usage examples
        
        ```
        # from bash
        python3 -m mongo_tfrecords 
        
        # api docs
        python3 -m mongo_tfrecords --help
        ```
        
        ```
        # from python
        from mongo_tfrecords import export
        
        export(
            collection="test", 
            database="mongodb://user:password@hostname:27017/database_name?authSource=admin",
            path="/path/to/",
            files_template="{}.tfrecord",
            count_per_file=100000,  # count items per one file
            features=["field1", "field2"],  # fields [int, float, string, bytes, ...],
            skip=10,
            limit=10000,
            verbose=True,  # show progress bar
        )
        ```
        
        ## License
        
        Apache License 2.0 (See [LICENSE](https://github.com/felixfire/mongo-tfrecords/blob/master/LICENSE/))
        
        Copyright 2020, Vadim Sharay
Keywords: export tensorflow mongodb python3
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: PyPy
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Utilities
Requires-Python: >=3.5
Description-Content-Type: text/markdown
Provides-Extra: dev
