bqmail


Namebqmail JSON
Version 2.1.4 PyPI version JSON
download
home_pagehttps://github.com/xumi1993/bqmail
Summary
upload_time2023-04-03 09:59:49
maintainer
docs_urlNone
authorMijian Xu
requires_python
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # BQMail
[![PyPI](https://img.shields.io/pypi/v/bqmail)](https://pypi.org/project/bqmail/)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bqmail)]()
[![PyPI - License](https://img.shields.io/pypi/l/bqmail)]()
[![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/xumi1993/bqmail)](https://github.com/xumi1993/bqmail/tags)

![GitHub forks](https://img.shields.io/github/forks/xumi1993/bqmail?style=social)
![GitHub stars](https://img.shields.io/github/stars/xumi1993/bqmail?style=social)

**BQMail** is a Python module for sending mails to apply for seismic data from the [IRIS DMC](http://www.ds.iris.edu/ds/nodes/dmc/). It is a front-end API of the [BREQ_fast](http://ds.iris.edu/ds/nodes/dmc/manuals/breq_fast/).

For **Chinese users**, please refer to our [chinese blog](https://blog.xumijian.me/tags/bqmail/).
## 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:
```python
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)
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/xumi1993/bqmail",
    "name": "bqmail",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Mijian Xu",
    "author_email": "gomijianxu@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/30/dc/63245cd7b66cdc51ab2c412338c8a7ee7f82aaae67e7ff83dcf302032958/bqmail-2.1.4.tar.gz",
    "platform": null,
    "description": "# BQMail\n[![PyPI](https://img.shields.io/pypi/v/bqmail)](https://pypi.org/project/bqmail/)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/bqmail)]()\n[![PyPI - License](https://img.shields.io/pypi/l/bqmail)]()\n[![GitHub tag (latest SemVer)](https://img.shields.io/github/v/tag/xumi1993/bqmail)](https://github.com/xumi1993/bqmail/tags)\n\n![GitHub forks](https://img.shields.io/github/forks/xumi1993/bqmail?style=social)\n![GitHub stars](https://img.shields.io/github/stars/xumi1993/bqmail?style=social)\n\n**BQMail** is a Python module for sending mails to apply for seismic data from the [IRIS DMC](http://www.ds.iris.edu/ds/nodes/dmc/). It is a front-end API of the [BREQ_fast](http://ds.iris.edu/ds/nodes/dmc/manuals/breq_fast/).\n\nFor **Chinese users**, please refer to our [chinese blog](https://blog.xumijian.me/tags/bqmail/).\n## Installation\n**BQMail** can currently run on Linux and MAC OSX. **BQMail** is running and testing on Python 3.9/3.10/3.11.\n\n### Installation via PyPI\n```\npip install bqmail\n```\n\n### Installation from source code\nThe latest version of the **BQMail** is available on Gitlab:\n```\ngit clone https://github.com/xumi1993/bqmail.git bqmail\n``` \nThen you can install this version:\n```\ncd bqmail\npip install .\n```\n\n## A quick example:\n```python\nfrom bqmail.mail import BQMail\nfrom obspy import UTCDateTime\n\nbq = BQMail('xxx@xxx.com', server='smtp.xxx.com', password='xxx', username='bqmail')\nbq.query_events(starttime=UTCDateTime(2017, 1, 1), endtime=UTCDateTime(2018, 1, 1),\n                minmagnitude=5.5, catalog='GCMT')\nbq.query_stations(network='CB', station='LZH')\nbq.send_mail(time_before=0, time_after=1000)\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "",
    "version": "2.1.4",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "30dc63245cd7b66cdc51ab2c412338c8a7ee7f82aaae67e7ff83dcf302032958",
                "md5": "bdcadd6c894f068e8ab0bfca6b0504fd",
                "sha256": "2ddfdca9be3156813a1996d50cd8932cc6d343b2149d9ae7ba76c1913444252a"
            },
            "downloads": -1,
            "filename": "bqmail-2.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "bdcadd6c894f068e8ab0bfca6b0504fd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 9319,
            "upload_time": "2023-04-03T09:59:49",
            "upload_time_iso_8601": "2023-04-03T09:59:49.640019Z",
            "url": "https://files.pythonhosted.org/packages/30/dc/63245cd7b66cdc51ab2c412338c8a7ee7f82aaae67e7ff83dcf302032958/bqmail-2.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-04-03 09:59:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "xumi1993",
    "github_project": "bqmail",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "bqmail"
}
        
Elapsed time: 0.05196s