Skip to content

andrei-shabanski/grab-screen

Repository files navigation

Grab Screen

Take screenshots and upload anywhere!

Package
Build https://travis-ci.org/andrei-shabanski/grab-screen.svg?branch=master https://coveralls.io/repos/github/andrei-shabanski/grab-screen/badge.svg?branch=master
Code quality https://api.codacy.com/project/badge/Grade/0f2d7aaac9684b728fd45fbab2fbca3b https://codebeat.co/badges/c07177a5-d5f0-4a7f-abc4-77c152a105fa https://bettercodehub.com/edge/badge/andrei-shabanski/grab-screen?branch=master
Dependencies https://requires.io/github/andrei-shabanski/grab-screen/requirements.svg?branch=master

Installation

You can install it with pip:

$ pip install grab-screen

Usage

After installation, you can use grab-screen command:

$ grab-screen --help
Usage: grab-screen [OPTIONS] COMMAND [ARGS]...

Options:
  -h, --help     Show this message and exit.
  -v, --version  Show the version and exit.

Commands:
  config  Get and set options.
  image   Make a screenshot and upload to a storage.

Configurations

$ grab-screen config list - show configs.

$ grab-screen config set NAME VALUE - set an option. You can add --upset to remove the option.

$ grab-screen config reset - remove all options.

Taking screenshots

$ grab-screen image - take a screenshot. Use -h/--help to see more options.

Storages

  • CloudApp

    Before uploading screenshots to CloudApp, provider your credentials:

    $ grab-screen config set cloudapp_username YOUR-USERNAME
    $ grab-screen config set cloudapp_password

    Then take a screenshot:

    $ grab-screen image --browse --storage cloudapp

Licensing

MIT License