{"id":20171469,"url":"https://github.com/hnaderi/portainer-ctl","last_synced_at":"2026-05-04T18:33:24.660Z","repository":{"id":191410145,"uuid":"684586616","full_name":"hnaderi/portainer-ctl","owner":"hnaderi","description":"Portainer Controller, a poor man's kubectl","archived":false,"fork":false,"pushed_at":"2023-09-05T06:05:01.000Z","size":76,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T15:34:23.447Z","etag":null,"topics":["automation","cli","cluster-management","docker","docker-compose","docker-swarm","portainer","portainer-ce","swarm"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hnaderi.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2023-08-29T12:51:06.000Z","updated_at":"2023-09-05T06:07:58.000Z","dependencies_parsed_at":"2024-11-14T01:27:03.888Z","dependency_job_id":"ee6b749f-e966-4291-905c-11150cd813e2","html_url":"https://github.com/hnaderi/portainer-ctl","commit_stats":null,"previous_names":["hnaderi/portainer-ctl"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnaderi%2Fportainer-ctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnaderi%2Fportainer-ctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnaderi%2Fportainer-ctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hnaderi%2Fportainer-ctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hnaderi","download_url":"https://codeload.github.com/hnaderi/portainer-ctl/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241606966,"owners_count":19989788,"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":["automation","cli","cluster-management","docker","docker-compose","docker-swarm","portainer","portainer-ce","swarm"],"created_at":"2024-11-14T01:25:02.215Z","updated_at":"2026-05-04T18:33:24.654Z","avatar_url":"https://github.com/hnaderi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Portainer controller\n[![](https://img.shields.io/pypi/v/portainer-ctl)](https://pypi.org/project/portainer-ctl/)\n\n### Install\nThis project is published to PyPi and you can install it using pip:\n```\npip install portainer-ctl\n```\n\nYou can also use the published container images:\n\n```sh\ndocker pull hnaderi/pctl\n# or\ndocker pull ghcr.io/hnaderi/pctl\n```\n\n#### Features\n- Fully automated deployment\n- Support for multiple config and secret\n- Support for .env files and multiple variables\n- Support for api tokens introduced in portainer 2.11.0\n\n#### Usage\n\n``` plaintext\nUsage: pctl [-h] [-T API_TOKEN] [-H HOST] [-U USERNAME] [-P PASSWORD] [--debug] [-j] {deploy,stacks,configs,secrets,endpoints,tags,system} ...\n\nPoorman's kubectl, CLI for portainer on docker swarm\n\nOptions:\n  -h, --help            show this help message and exit\n  -T, --api-token API_TOKEN\n                        api token for user, overrides PORTAINER_TOKEN variable (default: None)\n  -H, --host HOST       portainer host, overrides PORTAINER_HOST variable (default: http://127.0.0.1:9000/api)\n  -U, --username USERNAME\n                        username to login, overrides PORTAINER_USERNAME variable (default: admin)\n  -P, --password PASSWORD\n                        password for user, overrides PORTAINER_PASSWORD variable (default: admin)\n  --debug               Whether or not print debugging logs (default: False)\n  -j, --json            Print json output (default: False)\n\nCommands:\n  {deploy,stacks,configs,secrets,endpoints,tags,system}\n\nNo budget. No vendors. No fleet of ops. Just you, a blinking cursor, and the will to script what others buy. The rich scale with dollars. You scale with shell. Excuses cost, Automation pays!\n```\n\nYou can provide host, username and password in environment:\n- PORTAINER_HOST\n- PORTAINER_USERNAME\n- PORTAINER_PASSWORD\n- PORTAINER_TOKEN\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhnaderi%2Fportainer-ctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhnaderi%2Fportainer-ctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhnaderi%2Fportainer-ctl/lists"}