Skip to main content

pyhera

Introduction

pyhera is a lightweight in-memory database management module written in python. An optimized NoSQL database which is fast. Data are stored in JSON format (key-value) thus created databases can be analyzed by other applications in different platforms.

Features

  • Ease of use. No complicated syntax
  • Fast because of multithreading implementation
  • It's secure. Database is not modifiable from outside
  • Reliable. pyhera automatically takes back-up
  • Capable of handling data in any scale (As long as the hardware allows)

Easy Installition

pip install pyhera

Code samples

A very basic instance:

import pyhera # Import pyhera module

h = pyhera.Pool('mydb') # Create database object

h.set('foo', 'bar')
result = h.get('foo')

print(result) # Print 'bar'

To compare X and pyhera:

#X (a key-value series database)

r = connection()

r.dset('foo', 'bar1', 1)
r.dset('foo', 'bar2', 2)
r.dset('foo', 'bar3', 3)
d1 = r.dget('foo', 'bar1')
d2 = r.dget('foo', 'bar2')
d3 = r.dget('foo', 'bar3')

print(d1 + d2 + d3) # 6

#pyhera (Above method is also possible in pyhera)

h = pyhera.Pool('mydb')

h.dmls('foo', {
  'bar1': 1,
  'bar2': 2,
  'bar3': 3
})

d, sum = h.dmlg('foo'), 0
for k, v in d.items():
  sum += v

print(sum) # 6

Documentation

Documentation of pyhera project will be released as soon as possible.

Developed by Ali Moghimi

Metadata

Release files for pyhera 0.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyhera 0.5.3
File Size Uploaded
pyhera-0.5.3.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyhera 0.5.3
File Interpreter ABI Platform
pyhera-0.5.3-py3-none-any.whl Python 3 none any Details

Total release size: 11.9 kB

Release files / pyhera-0.5.3.tar.gz

Download URL pyhera-0.5.3.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5188c67952ceeb0eef6b890126c22725591257a9fca9da3e1f8ea6330c33bfd8
BLAKE2b-256 checksum
How to use checksums
419938cdf66eaf4b12128fc97171d6fc144c3a47a89de9ac9755b80467b3ee46
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.1

Release files / pyhera-0.5.3-py3-none-any.whl

Download URL pyhera-0.5.3-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
14ba03898ba849aa006bafa2ae4342063a40238435adc0204981a6eb676f64fe
BLAKE2b-256 checksum
How to use checksums
969ff8ad69991d1c15475c3695ecf5c4e1b673ea03cd0874ee84c44fda3fa207
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.1

Release history Release notifications | RSS feed

This release

0.5.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page