Automatedscreenshots-0.3.4
توضیحات
Useful screenshots stuff.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | Automatedscreenshots-0.3.4 |
| نام | Automatedscreenshots |
| نسخه کتابخانه | 0.3.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Jim Barcelona |
| ایمیل نویسنده | barce@me.com |
| آدرس صفحه اصلی | http://pypi.python.org/pypi/Automatedscreenshots/ |
| آدرس اینترنتی | https://pypi.org/project/Automatedscreenshots/ |
| مجوز | LICENSE.txt |
====================
Automatedscreenshots
====================
set values for using environment variables:
===========================================
export SCREENSHOT_USER=''
export SCREENSHOT_PASSWORD=''
export SCREENSHOT_SERVER_URL=''
set values for using django settings:
===========================================
SCREENSHOT_USER=''
SCREENSHOT_PASSWORD=''
SCREENSHOT_SERVER_URL=''
Capture a screen shot and get the URL:
======================================
from automatedscreenshots import Builder
b = Builder('http://www.google.com/')
b.capture()
print(b.image_url)
Get info about a screen shot:
=============================
from automatedscreenshots import Builder
b = Builder('http://www.google.com/')
print(b.info())
Search for a URL:
=================
from automatedscreenshots import Builder
b = Builder('http://www.google.com/')
print(b.search())
For developers:
===============
How to upload to pypi:
python setup.py sdist register upload
# python setup.py sdist
# twine upload dist/*
نحوه نصب
نصب پکیج whl Automatedscreenshots-0.3.4:
pip install Automatedscreenshots-0.3.4.whl
نصب پکیج tar.gz Automatedscreenshots-0.3.4:
pip install Automatedscreenshots-0.3.4.tar.gz