Skip to main content

A python package and command-line tools to Download Astronomers' Telegrams and parse them to find transient names and coordinates

Project description

atelParser

Documentation Status Coverage Status

A python package and command-line tools for Download Astronomers’ Telegrams and parse them to find transient names and coordinates.

Command-Line Usage

Documentation for atelParser can be found here: http://atelParser.readthedocs.org/en/stable

Usage:
    atel init
    atel count [-s <pathToSettingsFile>]
    atel download [-s <pathToSettingsFile>]
    atel [-r] parse [-s <pathToSettingsFile>]

Options:
    init                  setup the atelParser settings file for the first time
    count                 report the total number of atels reported so far
    download              download new and remaining ATel to the atel-directory stated in settings file
    parse                 add the new ATel contents to database and parse for names and coordinates


    -h, --help            show this help message
    -v, --version         show version
    -s, --settings        the settings file
    -r, --reparse         re-parse all ATel for names and coordinates

Documentation

Documentation for atelParser is hosted by Read the Docs (last stable version and latest version).

Installation

The easiest way to install atelParser is to use pip:

pip install atelParser

Or you can clone the github repo and install from a local version of the code:

git clone git@github.com:thespacedoctor/atelParser.git
cd atelParser
python setup.py install

To upgrade to the latest version of atelParser use the command:

pip install atelParser --upgrade

Development

If you want to tinker with the code, then install in development mode. This means you can modify the code from your cloned repo:

git clone git@github.com:thespacedoctor/atelParser.git
cd atelParser
python setup.py develop

Pull requests are welcomed!

Sublime Snippets

If you use Sublime Text as your code editor, and you’re planning to develop your own python code with atelParser, you might find my Sublime Snippets useful.

Issues

Please report any issues here.

License

Copyright (c) 2018 David Young

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

atelParser-0.3.1.tar.gz (24.8 kB view details)

Uploaded Source

Built Distribution

atelParser-0.3.1-py2-none-any.whl (30.1 kB view details)

Uploaded Python 2

File details

Details for the file atelParser-0.3.1.tar.gz.

File metadata

  • Download URL: atelParser-0.3.1.tar.gz
  • Upload date:
  • Size: 24.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/36.4.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/2.7.13

File hashes

Hashes for atelParser-0.3.1.tar.gz
Algorithm Hash digest
SHA256 2b0ff5453b25e5adcf5aeb7a4ce910b7a3d244c8f7ee1cf8afe40f04da76ecf9
MD5 9406ae8bb1b34a049af9c9f3077d269d
BLAKE2b-256 a62bb5fed43e66d4f7998497ada285eae99dc83fd9c837656d5fb553510811c4

See more details on using hashes here.

File details

Details for the file atelParser-0.3.1-py2-none-any.whl.

File metadata

  • Download URL: atelParser-0.3.1-py2-none-any.whl
  • Upload date:
  • Size: 30.1 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.9.1 pkginfo/1.4.1 requests/2.18.4 setuptools/36.4.0 requests-toolbelt/0.8.0 tqdm/4.14.0 CPython/2.7.13

File hashes

Hashes for atelParser-0.3.1-py2-none-any.whl
Algorithm Hash digest
SHA256 23a24a5752a44bda9898445a30da17ac6bc0d7680af380278c54241be0dc8acd
MD5 056a123380e9ad20e804d17476821b6f
BLAKE2b-256 e642405742fb0eacaab9cbe842ff84d4f439924748b59303105578a89955e548

See more details on using hashes here.

Supported by

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