pyos 0.7.2
pip install pyos==0.7.2
Newer version available (0.8.0)
Released:
Browse python objects as if they were files on disk
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License v3 (GPLv3) (GPLv3)
- Author: Martin Uhrin
- Tags database , schemaless , nosql , object-store
Classifiers
- License
- Programming Language
Project description
A fresh way to interact with your python objects as though they were files on your filesystem.
Installation
As easy as:
Install MongoDB
Ubuntu:
sudo apt install mongodb
Install pyos:
pip install pyos
Usage example
> 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())
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: GNU General Public License v3 (GPLv3) (GPLv3)
- Author: Martin Uhrin
- Tags database , schemaless , nosql , object-store
Classifiers
- License
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyos-0.7.2.tar.gz
.
File metadata
- Download URL: pyos-0.7.2.tar.gz
- Upload date:
- Size: 27.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d341c61da95a779602f0b969f8e02b7855fd00397ad6da5b596c6e887973cfd8
|
|
MD5 |
ad8509e619818022ab6b64962f93eaa5
|
|
BLAKE2b-256 |
1021b5524caf3fd75c0699cd094c1e6c2eee0e41d5f4364e28db99e73a026855
|
File details
Details for the file pyos-0.7.2-py2.py3-none-any.whl
.
File metadata
- Download URL: pyos-0.7.2-py2.py3-none-any.whl
- Upload date:
- Size: 50.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
221fa3c4df73441af6057d8a5b97bba677b68cbc1d539bbd0cd389889d8185ef
|
|
MD5 |
518ef38f56294acb60bfa20986074cf8
|
|
BLAKE2b-256 |
a312c5694c0cc226b8fe29a3ab85b316ba51b3996b2a12a1f1fce80e11eb88a5
|