一个python包和命令行工具,用于下载天文学家的电报并对其进行解析,以找到瞬时名称和坐标
atelParser的Python项目详细描述
命令行用法
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
文档
atelparser的文档由Read the Docs(最后一个stable version和latest version)托管。
安装
安装atelparser最简单的方法是使用pip:
pip install atelParser
或者您可以克隆github repo并从本地版本的代码安装:
git clone git@github.com:thespacedoctor/atelParser.git
cd atelParser
python setup.py install
要升级到最新版本的atelparser,请使用以下命令:
pip install atelParser --upgrade
发展
如果您想修改代码,请在开发模式下安装。 这意味着您可以修改克隆的repo中的代码:
git clone git@github.com:thespacedoctor/atelParser.git
cd atelParser
python setup.py develop
Pull requests 欢迎!
升华片段
如果您使用Sublime Text作为代码编辑器,并且计划使用atelparser开发自己的python代码,您可能会发现my Sublime Snippets很有用。
问题
请报告任何问题 here。
许可证
版权所有(c)2018 David Young
特此免费向任何获得 本软件和相关文档文件的副本 “软件”),无限制地处理软件,包括 但不限于使用、复制、修改、合并、发布, 分发、再授权和/或出售软件副本,以及 允许向其提供软件的人员这样做,但须遵守 以下条件:
上述版权公告及本许可公告须包括在内 在软件的所有副本或大部分中。
软件按“原样”提供,不作任何形式的保证 或默示的,包括但不限于 适销性、适合特定目的和不侵权。 在任何情况下,作者或版权持有人均不对任何 索赔、损害赔偿或其他责任,无论是在合同诉讼中, 侵权行为或其他,由 软件或软件中的使用或其他交易。