Metadata-Version: 2.1
Name: bpptkg-querybulletin
Version: 0.2.0
Summary: Simple Python library to query seismic bulletin database
Home-page: https://github.com/bpptkg/bpptkg-querybulletin
Author: Indra Rudianto
Author-email: indrarudianto.official@gmail.com
License: MIT
Description: # bpptkg-querybulletin
        
        Simple Python library to query seismic bulletin database.
        
        ## Installation
        
        Install the latest version from PyPI:
        
            pip install -U bpptkg-querybulletin
        
        Install database vendor dependent client package, e.g. for MySQL:
        
            pip install mysqlclient
        
        ## Database Credentials
        
        Create JSON file in `~/.bulletin/querybulletin/config.json to store your seismic
        bulletin database credentials. For example:
        
        ```json
        {
            "dburl": "mysql://user:password@localhost/seismic_bulletin"
        }
        ```
        
        ## Examples
        
        Query bulletin for certain time range:
        
            querybulletin -s "2021-08-01 06:00:00" -e "2021-08-10 06:00:00"
        
        Query bulletin for certain time range and event type:
        
            querybulletin -s "2021-08-01 06:00:00" -e "2021-08-10 06:00:00" -t VTB
        
        Query bulletin for certain event ID:
        
            querybulletin -u "2021-07#2355"
        
        Store output to the CSV file:
        
            querybulletin -s "2021-08-01 06:00:00" -e "2021-08-10 06:00:00" -t VTB -o bulletin.csv
        
        ## License
        
        [MIT](https://github.com/bpptkg/bpptkg-querybulletin/blob/main/LICENSE)
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Description-Content-Type: text/markdown
