rs-lib 0.0.15

Creator: bradpython12

Last updated:

Add to Cart

Description:

rslib 0.0.15

RS_Lib
Library for general Remote Sensing code
Prerequisites

Python 3 version 3.4 and above
PostgreSQL server version 7.4 to 12
PostgreSQL client library version 9.1

Build prerequisites

Setuptools (pip install --upgrade setuptools)
The pg_config program: it is usually installed by the libpq-dev package or by postgresql server but sometimes it is not in a PATH directory. Having it in the PATH greatly streamlines the installation, so try running pg_config --version.

Install

Just run pip install rs-lib

Development install

Clone this repository.
Cd into the cloned folder
Run pip install .[dev]
All the development dependencies will be installed, currently: pytest and numpy

Usage
Import
import rs_lib as rs

# Create an instance of the Config class
config = rs.Config()

# Load a config file
config.use(path_to_config_file)

# Pass the config class to a function
result = gru_orto(schema, table, priority, config)

Config file
As the library relies on several database functions and file paths, a config file must be used. An example of such a config file can be seen here

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.