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

Uploaded Source

Built Distribution

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

Uploaded Python 2

File details

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

File metadata

  • Download URL: atelParser-0.3.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.tar.gz
Algorithm Hash digest
SHA256 7c79fee44f7bee40a7c6fb8b55fbb32b8e26771afe7293c4bab476c6d15e6fc8
MD5 712e4b5fe8203541de4ed0a50f51c39a
BLAKE2b-256 4a0ce8626c16294518be15f647d9102aa7fcd2820f599a0e6acdeaedd09752bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: atelParser-0.3-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-py2-none-any.whl
Algorithm Hash digest
SHA256 5ce4bc92aa7cb42cbb463a641bc9a319baf3a152f269eabcd736c8b1ecb00f59
MD5 2aa8513d06745cdc9bcc8a3b6a9e286b
BLAKE2b-256 5b4e4c94a39fb2090ef114d3b0ed90e989042a5e57fd8120735cdd1b6203a889

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