Skip to main content

Beginner Express .:. Back End .:. Big Example .:. Brainstorm Effectively

Project description

About

The beu package is intended to be an easy way to explore several complementary Python packages.

  • There is a script to help you get all the system requirements installed

  • The beu module auto-imports several relevant modules as their preferred 2-character shortcuts for quick interaction

  • The beu-ipython command is a shortcut to start an ipython session with the beu module imported before you see the shell prompt

  • The commands provided by the other packages are all installed to the same place

  • All the advanced features of the packages are made available (since some packages will do more when certain other packages can be imported)

See the following docs:

Install

Install system requirements and install beu package to ~/.beu (Debian-based distros and Mac). Also modify one of ~/.zshrc, ~/.bashrc, or ~/.bash_profile.

% curl -o- https://raw.githubusercontent.com/kenjyco/beu/master/install.sh | bash

Source the wrappers.sh file

% source ~/.beu/wrappers.sh

Usage

The beu-ipython script is provided (with the b shortcut set in ~/.beu/wrappers.sh)

% b --help
Usage: beu-ipython [OPTIONS]

  Start ipython with `beu` imported

Options:
  --help  Show this message and exit.
% b
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
Type "copyright", "credits" or "license" for more information.

IPython 5.3.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: beu.ih
Out[1]: <module 'input_helper' from '/tmp/stuff/venv/lib/python3.5/site-packages/input_helper/__init__.py'>

In [2]: beu.bh
Out[2]: <module 'bg_helper' from '/tmp/stuff/venv/lib/python3.5/site-packages/bg_helper/__init__.py'>

In [3]: beu.rh
Out[3]: <module 'redis_helper' from '/tmp/stuff/venv/lib/python3.5/site-packages/redis_helper/__init__.py'>

In [4]: beu.chloop
Out[4]: <module 'chloop' from '/tmp/stuff/venv/lib/python3.5/site-packages/chloop/__init__.py'>

In [5]: beu.ph
Out[5]: <module 'parse_helper' from '/tmp/stuff/venv/lib/python3.5/site-packages/parse_helper/__init__.py'>

In [6]: beu.yh
Out[6]: <module 'yt_helper' from '/tmp/stuff/venv/lib/python3.5/site-packages/yt_helper/__init__.py'>

In [7]: beu.moc
Out[7]: <module 'moc' from '/tmp/stuff/venv/lib/python3.5/site-packages/moc/__init__.py'>

Updating

Use beu-update to get the latest changes

% beu-update

Misc

You should be able to pass the --help option to any of the command/shortcuts listed below for more info.

  • Use a (yt-search --audio-only) to search for and download audio files

  • Use v (yt-search) to search for and download video files

  • Use m (mocplayer) to start the REPL to control audio playback and making annotations

  • Use pdfsearch (ph-goo --filetype pdf) to search for and download PDF files

  • Use rh-shell to explore Collection objects

    Note: see the wrappers.sh file to see all defined shortcuts.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

beu-0.1.18-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

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