semvec/pypi-packages huggingface dataset:
quorum-mininode-py 1.3.3
a mini python sdk for quorum lightnode with http/https requests to quorum fullnode
Requires Python: >=3.5
Keywords: rumsystem,quorum,lightnode,sdk

# QuoRum LightNode Python SDK

Python SDK for Quorum LightNode, Without local storage.

Another better choice is [quorum-lightnode-py](https://github.com/zhangwm404/quorum-lightnode-py), with local storage.

More about QuoRum:

- https://rumsystem.net/
- https://github.com/rumsystem/quorum

### Install

```sh
pip install quorum_mininode_py
```

### Usage

```python3
from quorum_mininode_py import MiniNode

seed_url = 'rum://seed?v=1&e=0&n=0&c=apzmbMVtMy6J0sQKwhF...2MwHjpA2E'
pvtkey = "0xd4e9ddc19ec5b...d8c"

bot = MiniNode(seed_url,pvtkey)

# post content to rum group chain
data = {
    "type": "Create",
    "object": {
        "type": "Note",
        "content": "Hello world! Hello quorum!",
        "id": "a1d92233-3801-4295-a3cd-0e594385acc6",
    },
}

resp = bot.api.post_content(data)
print(resp)

# like a post
data = {
    "type": "Like",
    "object": {"type": "Note", "id": "a1d92233-3801-4295-a3cd-0e594385acc6"},
}

resp = bot.api.post_content(data)
print(resp)

# get content from rum group chain
trxs = bot.api.get_content(num=2, reverse=True)
print(trxs)

```

### Source

- quorum fullnode sdk for python: https://github.com/liujuanjuan1984/quorum-fullnode-py 
- quorum data module for python: https://github.com/liujuanjuan1984/quorum-data-py
- and more.. https://github.com/okdaodine/awesome-quorum

### License

This work is released under the `MIT` license. A copy of the license is provided in the [LICENSE](https://github.com/liujuanjuan1984/quorum_mininode_py/blob/master/LICENSE) file.
GooseHDF5 0.27.0
Wrapper around h5py
Requires Python: >=3.6

[![CI](https://github.com/tdegeus/GooseHDF5/workflows/CI/badge.svg)](https://github.com/tdegeus/GooseHDF5/actions)
[![Documentation Status](https://readthedocs.org/projects/goosehdf5/badge/?version=latest)](https://goosehdf5.readthedocs.io/en/latest/?badge=latest)
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/goosehdf5.svg)](https://anaconda.org/conda-forge/goosehdf5)
[![PyPi release](https://img.shields.io/pypi/v/GooseHDF5.svg)](https://pypi.org/project/GooseHDF5/)

# GooseHDF5

A simple wrapper around `h5py` providing some useful Python function and some command-line tools.

Documentation [GooseHDF5.readthedocs.io](http://GooseHDF5.readthedocs.io)

# Disclaimer

This library is free to use under the
[MIT license](https://github.com/tdegeus/GooseHDF5/blob/master/LICENSE).
Any additions are very much appreciated, in terms of suggested functionality, code,
documentation, testimonials, word of mouth advertisement, ....
Bug reports or feature requests can be filed on
[GitHub](https://github.com/tdegeus/GooseHDF5).
As always, the code comes with no guarantee.
None of the developers can be held responsible for possible mistakes.

Download:
[.zip file](https://github.com/tdegeus/GooseHDF5/zipball/master) |
[.tar.gz file](https://github.com/tdegeus/GooseHDF5/tarball/master).

(c - [MIT](https://github.com/tdegeus/GooseHDF5/blob/master/LICENSE))
T.W.J. de Geus (Tom) | tom@geus.me | www.geus.me |
[github.com/tdegeus/GooseHDF5](https://github.com/tdegeus/GooseHDF5)
clisender 0.0.1
use OS terminal
Requires Python: >=3.6
Keywords: cli,cli user,cli sender,os terminal,os terminal sender,os terminal user

# clisender
Designed to send commands into OS terminal

## Features
1. send commands into OS terminal
2. check if cli commands are accessible (special utilities is installed)
3. access to standard parts of result in a simple ready-to-use form (stdout/stderr/retcode/full state)

## License
See the [LICENSE](LICENSE) file for license rights and limitations (MIT).


## Release history
See the [HISTORY.md](HISTORY.md) file for release history.


## Installation
```commandline
pip install clisender
```

## Import

```python
from clisender import *
```


## GUIDE

### USAGE

```python
from clisender import *

victim = CliSender()

cmd_line = "ping localhost"
victim.send(cmd_line, timeout=0.1)
victim.print_state()
"""
==================================================
self.last_cmd='ping -n 1 localhost'
self.last_finished_success=True
self.last_finished=True
self.last_retcode=0
--------------------------------------------------
self.last_stdout=
	
    ###STDOUT PING!!!
	
--------------------------------------------------
self.last_stderr=
--------------------------------------------------
self._last_exx_timeout=None
==================================================
"""
```
hippocampus 0.1.4
simple memoization with sqlite3 and expiry
Requires Python: >=3.9,<4.0

# Hippocampus

**working memory for your python code**

Hippocampus is a small library that persists function calls in a sqlite3 database.
It can be used through a(parameterized) decorator which caches calls and results.

### Usage

```python
from hippocampus import memoize


@memoize(remember="forever", db_path="mydb.sqlite3")
def my_expensive_function(arg, kwarg):
    pass

# first call is a regular function call
result = my_expensive_function("arg", kwarg={"a": "dict"})

# second call is a cached read from db
result = my_expensive_function("arg", kwarg={"a": "dict"})
```

### Parameters

`memoize()` takes three parameters:

- remember: How long to cache the result
- db_path: Set path for the database file. If not set, the user's cache directry (same as for pip) is used
- overwrite: Debug option to force overwriting existing records. May be useful if your code changed.

There is one (required) parameter `remember` which is used to set expiry of cached
items. The default is to not expire (keep forever). Other values may be given in
human readable terms and are parsed by `dateparser`. This means you can use either
absolute (`remember="2023-12-01"`) or relative (`remember="two minutes"`) date
specifications.
Note that the parameter means you will **need** to include parens on the decorator
even if you omit `remember`: Always use `@memoize()`.

### Limitations

The decorator is intentionally simple to remove complexity and **only accepts functions
with json-compatible args and outputs**. You can use any json-compatible type for
arguments and keyword arguments, but the return value needs to be a json-compatible
dictionary. In addition to the regular allowed types (str, int, list, dict), you can also
provide date/time objects, which will be serizalized and deserialized by the orjson
library.

Only straight return calls are supported; you cannot memoize a generator. This may
change in the future, but requires some db modeling considerations.

Finally, values are currently never deleted, even if they expire. Your memoization
database may thus grow to be rather large. Expired calls are overwritten when invoked
again, thus calling your memoized function after the expiry (even with a different expiry
setting) refreshes the old record.
midgard 1.3.0
Midgard, the Python Geodesy library
Keywords: geodesy utilities

# Midgard, the Python Geodesy library

Midgard is a collection of useful Python utilities used by the Geodetic
institute at the Norwegian Mapping Authority (Kartverket). Although some of
these are geodesy-specific, many are also useful in more general settings.

**Note:** Midgard is still in pre-alpha status. Its functionality will change,
  and it should not be depended on in any production-like setting.

[![Latest version](https://img.shields.io/pypi/v/midgard.svg)](https://pypi.org/project/midgard/)
[![Python versions](https://img.shields.io/pypi/pyversions/midgard.svg)](https://pypi.org/project/midgard/)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)


## Installing Midgard

Midgard is available at [PyPI](https://pypi.org/project/midgard/). You can
install it by simply running

    python -m pip install midgard


## Installing Midgard from source

Midgard depends on several other brilliant Python packages, like for instance
numpy, scipy, etc. We recommend using the Anaconda distribution to ease
the installation of these dependencies.

### Install Anaconda

Go to [www.anaconda.com/download](https://www.anaconda.com/download), and
download Anaconda for Python 3.


### Download the Midgard source code

If you have not already done so, download the Midgard source code from Github:
[github.com/kartverket/midgard](https://github.com/kartverket/midgard). Then
enter the main `midgard` directory before running the install command below.

    cd midgard


### Install dependencies

You should now install the necessary dependencies using the
`environment.yml`-file. You can do this either in your current conda
environment, or choose to create a new `midgard`-environment. In order to use
`midgard` in other projects you need to install `midgard` in the same
environment as those projects.

To install `midgard` in your current environment, do

    conda env update -f environment.yml

To install `midgard` in a new environment named `midgard` and activate it, do

    conda env create -n midgard -f environment.yml
    conda activate midgard


### Install the Midgard package

To do the actual installation of Midgard, use the `flit` packaging tool:

    python -m flit install --dep production

If you want to develop the Midgard package, install it in editable mode using

    python -m flit install -s

On Windows, you can install in editable mode using

    python -m flit install --pth-file


## Using Midgard

Midgard comes organized into different subpackages. To see info about the
different subpackages, use the Python help system:

    >>> import midgard
    >>> help(midgard)

Information about individual subpackages is also available on the
[Midgard website](https://kartverket.github.io/midgard/).