GeoX, Geostatic Dataset Integration Tool
Project description
GeoX
Installation
For instal this library to your python package library, use command
pip install geox
Documentation
Here are some examples and feature explanation to use this library
Initialize API
Initialize GeoX using your api_key
that can be obtained from Credentials Manager in https://geoxdat/credential-manager
app = GeoX(api_key='your-api-key')
# checking the credential by seeing your mail address here
your_email = app.email
Read all of your projects
Read all projects include the detail of each Project
app = GeoX(api_key='your-api-key')
projects = app.read_all_projects() # list of Project class
Read specific project
Read a specific project by using by Project ID
app = GeoX(api_key='your-api-key')
project = app.read_project('PROJECT-ID') # Project class
Read all project version o specific project
Read all project versions from a Project
app = GeoX(api_key='your-api-key')
project = app.read_project('PROJECT-ID') # Project class
project_versions = project.read_all_project_versions() # List of ProjectVerson class
Read specific project version
Read specific project version by project version hash
app = GeoX(api_key='your-api-key')
project = app.read_project('PROJECT-ID') # Project class
project_version = project.read_project_version('project-version-hash') # ProjectVersion class
Read dataset
Read dataset from project version
app = GeoX(api_key='your-api-key')
project = app.read_project('PROJECT-ID') # Project class
project_version = project.read_project_version('project-version-hash') # ProjectVersion
df_collar = project_version.read_collar_data(save_to_file=False)
df_survey = project_version.read_survey_data(save_to_file=False)
df_alteration = project_version.read_alteration_data(save_to_file=False)
df_assay = project_version.read_assay_data(save_to_file=False)
df_litho = project_version.read_litho_data(save_to_file=False)
df_mineralisation = project_version.read_mineralisation_dat(save_to_file=False)
Method parameters:
filename
:str
is the filename if you set thesave_to_file
intoTrue
(default:DatasetType
)save_to_file
:bool
, set it toTrue
, you will save the dataset dataframe into file (default:True
)
Dataset Type
There are some types of dataset, can be obtained from DatasetType
object, can be imported using
from geox.entity import DatasetType
Dataset Column
To make it easier for gather information about dataset column, you can use some dataset column objects
from geox.entity import CollarColumn, SurveyColumn, AlterationColumn, AssayColumn, LithoColumn, MineralisationColumn
Copyright
This project is licensed under copyright of GeoX, 2022.
Our Website
Further informations about dataset, information, integration services, customer support are available in our main website at https://geoxdat.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file geox-0.0.14.tar.gz
.
File metadata
- Download URL: geox-0.0.14.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c9692ffa51069dfbf3f9de0cd080270bf599914bf0b09a90fd4dd1d8e538ffd |
|
MD5 | 79b85476e6a93e4e5d012af600d71eee |
|
BLAKE2b-256 | 25b1632998663c6471facf554746257f94052815c134df31cf025f658ff067f4 |
File details
Details for the file geox-0.0.14-py3-none-any.whl
.
File metadata
- Download URL: geox-0.0.14-py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85bd91d5483155612ef57a97f902ec4c5aa4b57346ff5af576b6664f94d9a127 |
|
MD5 | 8c6fc5dab534f889a3fe2afa497ce6a8 |
|
BLAKE2b-256 | a23e910975ae654e830b2a585976454ed928950b260afcb2615bf6ae041a0290 |