Skip to main content

No project description provided

Project description

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.

Installation

BQMail can currently run on Linux and MAC OSX. BQMail is running and testing on Python 3.7.

Installation via PyPI

pip install bqmail

Installation from source code

The latest version of the BQMail is available on Gitlab:

git clone https://git.nju.edu.cn/xumi1993/bqmail2.0.git bqmail

Then you can install this version:

cd bqmail
pip install .

A quick exsample:

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')
bq.query_stations(network='CB', station='LZH')
bq.send_mail(time_before=0, time_after=1000)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bqmail-2.0.5.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bqmail-2.0.5-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file bqmail-2.0.5.tar.gz.

File metadata

  • Download URL: bqmail-2.0.5.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for bqmail-2.0.5.tar.gz
Algorithm Hash digest
SHA256 72a8bb544ca62e811d5f4c0a76ac881e360bccdfc11b9d6358e5fdcd78cac25d
MD5 cb6322a21dd026c03f912a18f9514748
BLAKE2b-256 3384608a913bb4326cea0c316ecdd3067c929b170e7a8e09b91dfd652920fa57

See more details on using hashes here.

File details

Details for the file bqmail-2.0.5-py3-none-any.whl.

File metadata

  • Download URL: bqmail-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for bqmail-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b5260ff1d4ea901279516a299b7c1a67f2389c0fc938346419e9d4e1c257a4e0
MD5 b1afa77e09c917476a964520c1af802e
BLAKE2b-256 a6063418af778ecf951833dd2ee3f73a087ae5135d0559a88a7f2100eb5fc514

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page