没有项目描述

saram的Python项目详细描述


Build StatusDocumentation

萨拉姆比

saramPy是saram api的python绑定。它提供了一个从python脚本使用的python模块,以及一个名为saram的命令行实用程序。

要求

saramPy仅与python 3.7+一起编写和工作

安装

可能必须使用sudo安装,以确保saram位于路径上。

pip3 install saramPy

使用pip安装开发版本
git clone https://github.com/securisec/saramPy.git
cd saramPy
pip3 install -e .
# to update future versions without reinstalling, use from inside saramPy folder
git pull

用法

初始值

在使用sarampy之前,请确保设置api密钥。最简单的设置方法是运行

saram --init yourapikey

脚本

请参阅有关如何使用python模块的文档。

命令行工具

$ saram --help
usage: saram [-h] -t TOKEN [-l][--comment COMMENT][-c ... | -f FILE][--baseurl BASEURL]

optional arguments:
  -h, --help            show this help message and exit
  -t TOKEN, --token TOKEN
                        Token for the entry
  -l, --local           Dev mode. Use localhost
  --comment COMMENT     Add an optional comment
  -c ..., --command ...
                        Command to run inside quotes
  -f FILE, --file FILE  Read a file and send it to the server
  --baseurl BASEURL

文档

Documentation is on readthedocs

要手动设置文档,请从 saram目录

pip3 install sphinx
cd docs/
make clean html

然后打开_build/html/index.html

中的文档

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java使用tomcat时,如何加载JDBC驱动程序?   Spring数据Rest中嵌套资源的java分页   java从ImagesService创建URL需要多长时间。getServingUrl last   java的纸牌游戏战争与处理   内存不足的java解释探查器输出:PermGen空间错误   如何在java代码中等待scala的未来   java在安卓studio中通过if-else子句后,如何访问变量的新值   javascript DHTMLX甘特API   意图启动期间的java运行时异常   Java中的用户界面复合组件   java Hibernate更新调用在@OneToOne映射中生成新行   正则表达式在N个数的序列中计数零   java设置在何处查找audit4j的配置文件   maven JSR352:Annotation@Named在JavaSE中不起作用   java以更实用的方式对目录进行分组   JavaEclipse不再打开   java机器人按键VK_控件在Macbook上工作?   java如何等待所有线程完成执行?