## Installation
First, you need to install PhantomJS and ensure it's on your path.
You can do this by manually [downloading PhantomJS](phantom) from their website (all platforms); installing PhantomJS with Homebrew: `brew cask install phantomjs` (OS X); installing PhantomJS with npm: `npm install -g phantomjs` (all platforms); or using your system's package manager.
That's the hard part! Once that's done, installing `mkscreenshot` is as simple as:
```
pip3 install mkscreenshot
```
_Please note: `mkscreenshot` is only tested with Python 3.5 – you should be using Python 3!_
## Usage
```
Usage: mkscreenshot [OPTIONS] URL
Options:
--output TEXT Filename for the screenshot (defaults to the domain name)
--sleep INTEGER Wait before taking the screenshot to allow asynchronous
scripts to load
--width INTEGER Specify the width of the browser window
--help Show this message and exit.
```
For example, to take a screenshot of the [Hacker News](https://news.ycombinator.com) homepage:
```
> mkscreenshot https://news.ycombinator.com
```
And you'll get a screenshot like this:

## License
`mkscreenshot` is licensed under the MIT License and I encourage you to remix it for your own purposes.
[phantom]: http://phantomjs.org/download.html
Metadata
Release files for mkscreenshot 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mkscreenshot-1.0.2.tar.gz | 3.8 kB | Without provenance | Details for mkscreenshot-1.0.2.tar.gz |
Release files / mkscreenshot-1.0.2.tar.gz
| Download URL | mkscreenshot-1.0.2.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
462e3709679108619bd48c5894786c3f08e0d60bdf6857340aadc2c967ed9924
|
|
BLAKE2b-256 checksum How to use checksums |
672de46efd5b91ce0490ac80c9c0acd29abdf53aab1e0cd91a8998e612dc5d26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mkscreenshot 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.