Python应用程序/工具/脚本实用程序
ats-utilities的Python项目详细描述
Python实用程序
ats_utilities是用于创建/构建应用程序/工具/脚本的框架。在
{str}1{/strong}开发代码
自述文件用于介绍模块并提供有关 如何安装模块,它可能具有的任何机器依赖关系,以及 安装模块前应提供的其他信息。在
目录
安装
导航到release page下载并提取版本档案。在
要安装模块,请定位并运行设置.py,键入以下内容:
tar xvzf ats_utilities-x.y.z.tar.gz
cd ats_utilities-x.y.z
pip install -r requirements.txt
安装lib进程
^{pr2}$安装lib egg信息
python setup.py install_egg_info
running install_egg_info
running egg_info
creating ats_utilities.egg-info
writing ats_utilities.egg-info/PKG-INFO
writing top-level names to ats_utilities.egg-info/top_level.txt
writing dependency_links to ats_utilities.egg-info/dependency_links.txt
writing manifest file 'ats_utilities.egg-info/SOURCES.txt'
reading manifest file 'ats_utilities.egg-info/SOURCES.txt'
writing manifest file 'ats_utilities.egg-info/SOURCES.txt'
removing '/usr/local/lib/python2.7/dist-packages/ats_utilities-1.0.2.egg-info' (and everything under it)
Copying ats_utilities.egg-info to /usr/local/lib/python2.7/dist-packages/ats_utilities-1.0.2.egg-info
也可以使用docker创建图像/容器。在
依赖性
这些模块需要其他模块和库(Python 2.x/3.x):
- yaml - YAML parser and emitter for Python
- bs4 - Screen-scraping library
- configparser - Configuration parser library
- colorama - Cross-platform colored terminal text
- pathlib - Object-oriented filesystem paths
库结构
ats_实用程序基于OOP:
库结构:
.
├── ats_utilities/
│ ├── abstract/
│ │ └── __init__.py
│ ├── ats_info.py
│ ├── cfg_base.py
│ ├── config/
│ │ ├── base_read_config.py
│ │ ├── base_write_config.py
│ │ ├── cfg/
│ │ │ ├── cfg2object.py
│ │ │ ├── __init__.py
│ │ │ └── object2cfg.py
│ │ ├── check_base_config.py
│ │ ├── config_context_manager.py
│ │ ├── file_checking.py
│ │ ├── ini/
│ │ │ ├── ini2object.py
│ │ │ ├── __init__.py
│ │ │ └── object2ini.py
│ │ ├── __init__.py
│ │ ├── json/
│ │ │ ├── __init__.py
│ │ │ ├── json2object.py
│ │ │ └── object2json.py
│ │ ├── xml/
│ │ │ ├── __init__.py
│ │ │ ├── object2xml.py
│ │ │ └── xml2object.py
│ │ └── yaml/
│ │ ├── __init__.py
│ │ ├── object2yaml.py
│ │ └── yaml2object.py
│ ├── console_io/
│ │ ├── error.py
│ │ ├── __init__.py
│ │ ├── success.py
│ │ ├── verbose.py
│ │ └── warning.py
│ ├── exceptions/
│ │ ├── ats_attribute_error.py
│ │ ├── ats_bad_call_error.py
│ │ ├── ats_file_error.py
│ │ ├── ats_key_error.py
│ │ ├── ats_lookup_error.py
│ │ ├── ats_type_error.py
│ │ ├── ats_value_error.py
│ │ └── __init__.py
│ ├── ini_base.py
│ ├── __init__.py
│ ├── json_base.py
│ ├── logging/
│ │ ├── ats_logger_base.py
│ │ ├── ats_logger_file.py
│ │ ├── ats_logger_name.py
│ │ ├── ats_logger.py
│ │ ├── ats_logger_status.py
│ │ └── __init__.py
│ ├── option/
│ │ ├── ats_option_parser.py
│ │ └── __init__.py
│ ├── register/
│ │ └── __init__.py
│ ├── xml_base.py
│ └── yaml_base.py
└── setup.py
文件
更多文档和信息请访问:
版权和许可
版权所有(C)2017 vroncevic.github.io/ats_utilities
ats_utilities是免费软件;您可以重新分发和/或修改 它与Python本身的术语相同,要么是Python版本2.x/3.x,要么是, 根据您的选择,您可以使用任何更高版本的python3。在
让我们帮助和支持PSF。在
- 项目
标签: