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) 2016 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.2.tar.gz (24.5 kB view details)

Uploaded Source

Built Distribution

atelParser-0.2-py2-none-any.whl (29.8 kB view details)

Uploaded Python 2

File details

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

File metadata

  • Download URL: atelParser-0.2.tar.gz
  • Upload date:
  • Size: 24.5 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.2.tar.gz
Algorithm Hash digest
SHA256 57f50181ea859e421df572b85b882bcf28e46f4fa1a1f75880c88b72c848e4e8
MD5 cceed33528ccb9ddadf56d22ed1c27a0
BLAKE2b-256 20affd6949e21544aef526188f049e2cbc31e146c25fb62ecec4bc1630f49138

See more details on using hashes here.

File details

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

File metadata

  • Download URL: atelParser-0.2-py2-none-any.whl
  • Upload date:
  • Size: 29.8 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.2-py2-none-any.whl
Algorithm Hash digest
SHA256 e5358253214c0204eb145df8c2d38b9fb7d2daea57257159d26098ebfe1808c1
MD5 6015fe08e87ddd01af208a534e8b5d48
BLAKE2b-256 d0412e245d75ae7fbcfba6bbddc53bd7b5af5859f0bb9e1a63b39f13cd6ea2a5

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