Commit de69f161 authored by xu_mijian's avatar xu_mijian
Browse files

update readme

parent 458f8a36
BQMail
# BQMail
=================
**BQMail** is a Python module for sending mails to apply for seismic data from the IRIS DMC. It is a front-end API of the BREQ_fast.
......@@ -23,7 +22,10 @@ pip install .
```
## A quick exsample:
```Python
```python
from bqmail.mail import BQMail
from obspy import UTCDateTime
bq = BQMail('xxx@163.com', server='smtp.163.com', password='xxx', username='bqmail')
bq.query_events(starttime=UTCDateTime(2017, 1, 1), endtime=UTCDateTime(2018, 1, 1),
minmagnitude=5.5, catalog='GCMT')
......
......@@ -2,7 +2,7 @@
from setuptools import find_packages, setup
packages = find_packages()
VERSION = "2.0.1"
VERSION = "2.0.2"
setup(name='bqmail',
version=VERSION,
author='Mijian Xu',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment