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
Release files for rs-lib 0.0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rs_lib-0.0.15-py3-none-any.whl | Python 3 | none | any | Details |
Release files / rs_lib-0.0.15-py3-none-any.whl
| Download URL | rs_lib-0.0.15-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ac937040c623d1cb66e93a1e9a2d4d7489bb87eeac6aab54e2b82b542b789d7b
|
|
BLAKE2b-256 checksum How to use checksums |
108534fafa5297d4192ee7f1cddea7d37c885a089614992ced6f0ca3e6ff3702
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0.post20200518 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3
|