Skip to main content

BQMail

PyPI PyPI - Python Version PyPI - License GitHub tag (latest SemVer)

GitHub forks GitHub stars

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.

For Chinese users, please refer to our chinese blog.

Installation

BQMail can currently run on Linux and MAC OSX. BQMail is running and testing on Python 3.9/3.10/3.11.

Installation via PyPI

pip install bqmail

Installation from source code

The latest version of the BQMail is available on Gitlab:

git clone https://github.com/xumi1993/bqmail.git bqmail

Then you can install this version:

cd bqmail
pip install .

A quick example:

from bqmail.mail import BQMail
from obspy import UTCDateTime

bq = BQMail('xxx@xxx.com', server='smtp.xxx.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)

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.1.4.tar.gz (9.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: bqmail-2.1.4.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for bqmail-2.1.4.tar.gz
Algorithm Hash digest
SHA256 2ddfdca9be3156813a1996d50cd8932cc6d343b2149d9ae7ba76c1913444252a
MD5 bdcadd6c894f068e8ab0bfca6b0504fd
BLAKE2b-256 30dc63245cd7b66cdc51ab2c412338c8a7ee7f82aaae67e7ff83dcf302032958

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

2.1.4 This release

1 file

2.1.1

1 file

2.1.0

1 file

2.0.9

1 file

2.0.7

2 files

2.0.6

2 files

2.0.5

2 files

2.0.4

2 files

2.0.3

2 files

2.0.2

2 files

2.0.1

2 files

2.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page