Geobricks Common
==============
Geobricks common library handle some functionalities that are used by different Geobricks components, like the logging, folders structure and email service.
# Installation
## Linux
```python
pip install geobrickscommon
```
## Example of configuration
An example of main configuration contained in geobricks.common.config.config:
```python
{
"settings": {
# Logging configurations
"logging": {
"level": logging.INFO,
"format": "%(asctime)s | %(levelname)-8s | %(name)-20s | Line: %(lineno)-5d | %(message)s",
"datefmt": "%d-%m-%Y | %H:%M:%s"
},
# Folders to be used by the system
"folders": {
"tmp": "/tmp",
#"geoserver_datadir": "/tmp",
"geoserver_datadir": "/geoserver_data_dir",
"distribution": "/distribution_folder",
"storage": "/storage_folder"
},
# Email configurations (for now uses gmail as default client)
"email": {
"user": "user",
"password": "password"
},
# optional metadata D3S service used to get a resource using its UID
"metadata": {
"url_get_metadata_uid": "http://localhost:7788/d3s/msd/resources/metadata/uid/<uid>",
}
}
}
```
==============
Geobricks common library handle some functionalities that are used by different Geobricks components, like the logging, folders structure and email service.
# Installation
## Linux
```python
pip install geobrickscommon
```
## Example of configuration
An example of main configuration contained in geobricks.common.config.config:
```python
{
"settings": {
# Logging configurations
"logging": {
"level": logging.INFO,
"format": "%(asctime)s | %(levelname)-8s | %(name)-20s | Line: %(lineno)-5d | %(message)s",
"datefmt": "%d-%m-%Y | %H:%M:%s"
},
# Folders to be used by the system
"folders": {
"tmp": "/tmp",
#"geoserver_datadir": "/tmp",
"geoserver_datadir": "/geoserver_data_dir",
"distribution": "/distribution_folder",
"storage": "/storage_folder"
},
# Email configurations (for now uses gmail as default client)
"email": {
"user": "user",
"password": "password"
},
# optional metadata D3S service used to get a resource using its UID
"metadata": {
"url_get_metadata_uid": "http://localhost:7788/d3s/msd/resources/metadata/uid/<uid>",
}
}
}
```
Metadata
Release files for GeobricksCommon 0.0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| GeobricksCommon-0.0.9.tar.gz | 14.5 kB | Details |
Release files / GeobricksCommon-0.0.9.tar.gz
| Download URL | GeobricksCommon-0.0.9.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92e6e4ec66745cd4791e8036d511bc00342d7be31701824615c7c24f014040a7
|
|
BLAKE2b-256 checksum How to use checksums |
545d2410d5276547e99975ce08d154dcc09ce1ae2ffae19950f07caf02a28139
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |