{"id":22870301,"url":"https://github.com/dadav/digipy","last_synced_at":"2025-03-31T11:26:15.117Z","repository":{"id":215674624,"uuid":"739528493","full_name":"dadav/digipy","owner":"dadav","description":"digicamcontrol python wrapper","archived":false,"fork":false,"pushed_at":"2024-01-08T19:07:48.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-06T16:58:47.406Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dadav.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-01-05T19:35:19.000Z","updated_at":"2024-01-06T15:19:29.000Z","dependencies_parsed_at":"2024-01-05T20:40:04.308Z","dependency_job_id":"49fe1e13-93d9-4160-81ee-374aafd003d9","html_url":"https://github.com/dadav/digipy","commit_stats":null,"previous_names":["dadav/digipy"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fdigipy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fdigipy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fdigipy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadav%2Fdigipy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dadav","download_url":"https://codeload.github.com/dadav/digipy/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246460335,"owners_count":20781100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T13:14:27.646Z","updated_at":"2025-03-31T11:26:15.111Z","avatar_url":"https://github.com/dadav.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# digipy\n\nThis tool is a small wrapper around the [digicamcontrol.com](https://digicamcontrol.com/) API.\nIt is used to control my Canon EOS 600D camera in my [photobooth](https://github.com/PhotoboothProject/photobooth) setup.\n\n## install\n\nThere are two ways to use this.\n\n1. From Source\n2. Packaged pyinstaller version (easier)\n\n### From source\n\n1. Download python 11 from [here](https://www.python.org/downloads/windows/)\n2. Install python\n3. Download the [digipy](./digipy) directory and [start script](./bin/digipy)\n4. Put these files into `C:\\Apache24\\htdocs\\api\\`\n\n### Packaged version\n\nDownload the packaged exe file from [here](https://github.com/dadav/digipy/releases) and put it in your api directory (usually `C:\\Apache24\\htdocs\\api\\`).\n\n## Usage\n\nYou need to give digipy the following informations:\n\nWhich **mode** you want to use, [slc](https://www.digicamcontrol.com/doc/userguide/singlecmd) or [cmd](https://www.digicamcontrol.com/doc/userguide/web).\n\nThe cmd or slc command you want to use.\n\nAnd the parameters you want to use.\n\nAnd of cause a running digicamcontrol instance with the webserver\nlistening on port **5513**.\n\n### Examples\n\n```bash\n# change the session folder to c:\\foo\\bar\ndigipy slc set session.folder c:\\foo\\bar\n\n# list available cameras\ndigipy slc list cameras\n\n# capture photo and save it to c:\\foo.jpg\ndigipy slc capture c:\\foo.jpg\n```\n\n### Photobooth\n\nAdjust the commands in your photobooth setup to this:\n\n```bash\n# Before photo command: Start Liveview\ndigipy cmd LiveViewWnd_Show\n\n# Capture command\ndigipy slc capture %s\n\n# After photo command: Hide Liveview\ndigipy cmd LiveViewWnd_Hide\n```\n\n## Configuration\n\nYou can change the host with the `DIGIPY_HOST` and the port\nwith the `DIGIPY_PORT` env variable.\n\nFor example:\n\n`DIGIPY_PORT=9999 digipy slc capture %s`\n\n## Development\n\nIf you want to contribute to this project, then you can run the following commands to get the required environment:\n\n```bash\npython3 -m venv venv\nsource ./venv/bin/activate\npip3 install -r dev.txt\n```\n\nChanges in the requirements go into the [requirements.in](./requirements.in) file and can be compiled with\n\n```bash\n# create new requirements.txt and update deps\npip-compile -U requirements.in\n\n# don't forget dev.in\npip-compile -U dev.in\n\n# then sync the new deps to your env\npip-sync dev.txt\n```\n\n## LICENSE\n\n[MIT](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadav%2Fdigipy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdadav%2Fdigipy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadav%2Fdigipy/lists"}