新手快车。后端。举个大例子。有效的头脑风暴
beu的Python项目详细描述
关于
beu包旨在成为一种简单的方法来探索 补充的python包。
- 有一个脚本可以帮助您获得所有系统需求 已安装
- beumodule自动导入几个相关的模块作为它们的 用于快速交互的首选2字符快捷方式
- beu-ipython命令是启动^{tt4}的快捷方式$ 在看到shell之前与导入的beu模块进行会话 提示
- 其他软件包提供的命令都安装到 同一地点
- 软件包的所有高级功能都可用(因为 当某些其他包可以 进口)
请参阅以下文档:
- https://github.com/kenjyco/input-helper/blob/master/README.md#usage
- https://github.com/kenjyco/bg-helper/blob/master/README.md#usage
- https://github.com/kenjyco/settings-helper/blob/master/README.md
- https://github.com/kenjyco/redis-helper/blob/master/README.md#intro
- https://github.com/kenjyco/chloop/blob/master/README.md#usage
- https://github.com/kenjyco/parse-helper/blob/master/README.md#usage
- https://github.com/kenjyco/yt-helper/blob/master/README.md#usage
- https://github.com/kenjyco/dt-helper/blob/master/README.md
- https://github.com/kenjyco/fs-helper/blob/master/README.md
- https://github.com/kenjyco/aws-info-helper/blob/master/README.md
- https://github.com/kenjyco/mongo-helper#usage
- https://github.com/kenjyco/sql-helper#usage
- https://github.com/kenjyco/mocp/blob/master/README.md#usage
- https://github.com/kenjyco/mocp-cli/blob/master/README.md#usage
- https://github.com/kenjyco/vlc-helper/blob/master/README.md#usage
安装
安装系统要求并将beu包安装到~/.beu (基于Debian的发行版和Mac)。同时修改~/.zshrc中的一个, ~/.bashrc,或~/.bash_profile。
% curl -o- https://raw.githubusercontent.com/kenjyco/beu/master/install.sh | bash
获取wrappers.sh文件的源代码
% source ~/.beu/wrappers.sh
mac注释
与vlc相关的东西(vlc helper包、系统dbu等)不是 由于VLC不能用Mac上的DBU控制而安装
Linux云笔记
与vlc相关的东西(vlc助手包、系统dbu等)和moc 未安装相关内容(mocp&mocp cli包、系统moc) 因为你不能看视频或听音频。
用法
提供了beu-ipython脚本(在 ~/.beu/wrappers.sh)
% b --help Usage: beu-ipython [OPTIONS] Start ipython with `beu` and `pprint` imported Options: --no-vi Do not use vi editing mode --no-colors Do not use colors / syntax highlighting --help Show this message and exit.
% b Python 3.6.8 (default, Jan 14 2019, 17:05:23) Type "copyright", "credits" or "license" for more information. IPython 7.6.0 -- An enhanced Interactive Python. Type '?' for help. In [1]: beu.ih Out[1]: <module 'input_helper' from '/tmp/stuff/venv/lib/python3.6/site-packages/input_helper/__init__.py'> In [2]: beu.bh Out[2]: <module 'bg_helper' from '/tmp/stuff/venv/lib/python3.6/site-packages/bg_helper/__init__.py'> In [3]: beu.rh Out[3]: <module 'redis_helper' from '/tmp/stuff/venv/lib/python3.6/site-packages/redis_helper/__init__.py'> In [4]: beu.chloop Out[4]: <module 'chloop' from '/tmp/stuff/venv/lib/python3.6/site-packages/chloop/__init__.py'> In [5]: beu.ph Out[5]: <module 'parse_helper' from '/tmp/stuff/venv/lib/python3.6/site-packages/parse_helper/__init__.py'> In [6]: beu.yh Out[6]: <module 'yt_helper' from '/tmp/stuff/venv/lib/python3.6/site-packages/yt_helper/__init__.py'> In [7]: beu.fh Out[7]: <module 'fs_helper' from '/tmp/stuff/venv/lib/python3.6/site-packages/fs_helper/__init__.py'> In [8]: beu.dh Out[8]: <module 'dt_helper' from '/tmp/stuff/venv/lib/python3.6/site-packages/dt_helper/__init__.py'> In [9]: beu.sh Out[9]: <module 'settings_helper' from '/tmp/stuff/venv/lib/python3.6/site-packages/settings_helper/__init__.py'> In [10]: beu.ah Out[10]: <module 'aws_info_helper' from '/tmp/stuff/venv/lib/python3.6/site-packages/aws_info_helper/__init__.py'> In [11]: beu.jh Out[11]: <module 'jira_helper' from '/tmp/stuff/venv/lib/python3.6//site-packages/jira_helper/__init__.py'> In [12]: beu.ewm Out[12]: <module 'easy_workflow_manager' from '/tmp/stuff/venv/lib/python3.6/site-packages/easy_workflow_manager/__init__.py'> In [13]: beu.mh Out[13]: <module 'mongo_helper' from '/tmp/stuff/venv/lib/python3.6/site-packages/mongo_helper/__init__.py'> In [14]: beu.SQL Out[14]: sql_helper.SQL In [15]: beu.moc Out[15]: <module 'moc' from '/tmp/stuff/venv/lib/python3.6/site-packages/moc/__init__.py'> In [16]: beu.mocp_cli Out[16]: <module 'mocp_cli' from '/tmp/stuff/venv/lib/python3.6/site-packages/mocp_cli/__init__.py'> In [17]: beu.vh Out[17]: <module 'vlc_helper' from '/tmp/stuff/venv/lib/python3.6/site-packages/vlc_helper/__init__.py'>
更新
使用beu-update获取最新更改
% beu-update
其他
您应该能够将--help选项传递给 下面列出的命令/快捷方式了解更多信息。
- 使用m(mocplayer)启动repl以控制音频播放 做注解
- 使用rh-shell浏览集合对象
Note: see the wrappers.sh file to see all defined shortcuts.