Metadata-Version: 2.1
Name: pyos
Version: 0.7.2
Summary: Browse python objects as if they were files on disk
Home-page: https://github.com/muhrin/pyos.git
Author: Martin Uhrin
Author-email: martin.uhrin.10@ucl.ac.uk
License: GPLv3
Project-URL: Documentation, https://pyos.readthedocs.org/
Project-URL: Source, https://github.com/muhrin/pyos/
Description: .. _documentation: https://pyos.readthedocs.io/en/latest/
        
        pyOS
        ====
        
        .. image:: https://codecov.io/gh/muhrin/pyos/branch/develop/graph/badge.svg
            :target: https://codecov.io/gh/muhrin/pyos
            :alt: Coverage
        
        .. image:: https://travis-ci.com/muhrin/pyos.svg?branch=master
            :target: https://travis-ci.com/github/muhrin/pyos
            :alt: Travis CI
        
        .. image:: https://img.shields.io/pypi/v/pyos.svg
            :target: https://pypi.python.org/pypi/pyos/
            :alt: Latest Version
        
        .. image:: https://img.shields.io/pypi/wheel/pyos.svg
            :target: https://pypi.python.org/pypi/pyos/
        
        .. image:: https://img.shields.io/pypi/pyversions/pyos.svg
            :target: https://pypi.python.org/pypi/pyos/
        
        .. image:: https://img.shields.io/pypi/l/pyos.svg
            :target: https://pypi.python.org/pypi/pyos/
        
        A fresh way to interact with your python objects as though they were files on your filesystem.
        
        Installation
        ------------
        
        As easy as:
        
        1. Install MongoDB
        
           Ubuntu:
        
        
        .. code-block:: shell
        
            sudo apt install mongodb
        
        2. Install pyos:
        
        .. code-block:: shell
        
            pip install pyos
        
        Usage example
        -------------
        
        .. code-block:: shell
        
            > ipython
        
            In [1]: from pyos.pyos import *
            In [2]: ls()
        
            [4]:
            import mincepy
            import urllib.request
            import json
        
            ids = []
            with urllib.request.urlopen('https://raw.githubusercontent.com/ozlerhakan/mongodb-json-files/master/datasets/restaurant.json') as url:
                for line, _ in zip(url, range(399)):
                    data = json.loads(line.decode())
                    data.pop('_id')
                    ids.append(mincepy.Dict(data).save())
        
        
Keywords: database schemaless nosql object-store
Platform: UNKNOWN
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Provides-Extra: dev
Provides-Extra: gui
