贝里坎让与你的覆盆子皮拍照容易!

berrycam的Python项目详细描述


贝里坎让与你的覆盆子皮拍照容易!

安装

只需运行:

$ pip install berrycam

用法

拍照很容易

$ berrycam --file --file-name image.jpeg

拍摄照片并上传到ftp服务器

$ berrycam --ftp --ftp-server ftp.localhost --ftp-username user --ftp-password password

更多帮助

$ berrycam --help
usage: berrycam [-h] [--file] [--file-name FILE_NAME] [--ftp]
                [--ftp-server FTP_SERVER] [--ftp-username FTP_USERNAME]
                [--ftp-password FTP_PASSWORD] [--s3]
                [--s3-endpoint S3_ENDPOINT] [--access-key ACCESS_KEY]
                [--secret-key SECRET_KEY] [--bucket-name BUCKET_NAME]
                [--bucket-path BUCKET_PATH] [--res-width RES_WIDTH]
                [--res-height RES_HEIGHT] [--verbose]

optional arguments:
  -h, --help            show this help message and exit
  --file                write captured image to file
  --file-name FILE_NAME
                        file name / path
  --ftp                 write captured image to ftp
  --ftp-server FTP_SERVER, -s FTP_SERVER
                        ftp server hostname
  --ftp-username FTP_USERNAME, -u FTP_USERNAME
                        ftp username
  --ftp-password FTP_PASSWORD, -p FTP_PASSWORD
                        ftp password
  --s3                  write captured image to s3
  --s3-endpoint S3_ENDPOINT
                        s3 endpoint
  --access-key ACCESS_KEY
                        s3 access key
  --secret-key SECRET_KEY
                        s3 secret key
  --bucket-name BUCKET_NAME
                        s3 bucket name
  --bucket-path BUCKET_PATH
                        s3 bucket path
  --res-width RES_WIDTH
                        image width
  --res-height RES_HEIGHT
                        image height
  --verbose, -v         increase output verbosity

许可证

这个项目是由Picymru开发的,作为我们教育的一部分。 学习计划。本项目根据以下条款发布: 麻省理工学院的执照,包括在下面

MIT License

Copyright (c) 2017 PiCymru

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

支架

有问题吗?需要援助吗?别被卡住了!如果你真的用这个 项目或有任何反馈,我们希望听到你,推特我们在 [@picymru](https://twitter.com/PiCymru)或者给我们一个 e-mail

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
并行处理java。util。同时发生的叉子在游泳池里。常见的并行性准则,用于选择正确的并行度大小   java如何将空白字符追加到指定长度?   安卓应用程序中出现错误,SSLHandshakeException,找不到证书路径的信任锚点   java如何使用JUnit Mockito验证检查方法是否未被调用   java如何使用不同的@RequestMapping解析多个控制器中的静态页面   Selenium中的javascript需要验证搜索结果   访问数据库SQLiteopenHelper方法时java应用程序崩溃(nullpointerexception)   在二叉树中验证最小堆时出现java空指针异常   Java 7的SSL连接失败   java用RestEasyWebTarget替换ProxyFactory不起作用   在Java应用程序中单击“否”按钮后,数组程序冻结(无响应)   数组中的前缀Java初学者前进和   Java HTML解析器,包括脚本标记和LineNumberReader   在java中为长类型数字加前导零   正则表达式无法映射正则表达式java。lang.IllegalArgumentException:模式段中捕获组的数量