{"id":20618237,"url":"https://github.com/tddschn/sendgrid-cli","last_synced_at":"2026-02-23T20:16:37.855Z","repository":{"id":63547478,"uuid":"568607267","full_name":"tddschn/sendgrid-cli","owner":"tddschn","description":null,"archived":false,"fork":false,"pushed_at":"2024-03-20T16:33:57.000Z","size":24,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-04-25T14:40:56.199Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tddschn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-11-21T02:30:04.000Z","updated_at":"2023-03-08T22:54:15.000Z","dependencies_parsed_at":"2024-11-20T11:01:29.168Z","dependency_job_id":null,"html_url":"https://github.com/tddschn/sendgrid-cli","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"89cce03a4546fe1b45c41206cd992b80bbc95b8a"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fsendgrid-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fsendgrid-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fsendgrid-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tddschn%2Fsendgrid-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tddschn","download_url":"https://codeload.github.com/tddschn/sendgrid-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249062020,"owners_count":21206610,"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-11-16T12:07:39.777Z","updated_at":"2026-02-23T20:16:32.811Z","avatar_url":"https://github.com/tddschn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sendgrid-cli\n\nA very simple SendGrid CLI written in Python with only basic functionalities (at this moment).\n\nThe official [sendgrid-cli](https://github.com/sendgrid/sendgrid-cli) hasn't been updated in years and I couldn't get it to work,  \nso I wrote this with only the features I need.\n\nIf you need more features, feel free to contribute by submitting pull requests.\n\n- [sendgrid-cli](#sendgrid-cli)\n  - [Installation](#installation)\n    - [pipx](#pipx)\n    - [pip](#pip)\n  - [Usage](#usage)\n    - [On the command line](#on-the-command-line)\n    - [On GitHub Actions](#on-github-actions)\n  - [Develop](#develop)\n\n\n## Installation\n\n### pipx\n\nThis is the recommended installation method.\n\n```\n$ pipx install sendgrid-cli\n```\n\n### [pip](https://pypi.org/project/sendgrid-cli/)\n\n```\n$ pip install sendgrid-cli\n```\n\n## Usage\n\n### On the command line\n\n```\nusage: sendgrid [-h] [-V] [-t str [str ...]] [-f str] [-n str] [-s str]\n\nsendgrid CLI\n\noptions:\n  -h, --help            show this help message and exit\n  -V, --version         show program's version number and exit\n  -t str [str ...], --to-emails str [str ...]\n                        To emails (default: None)\n  -f str, --from-email str\n                        From email EMAIL (default: None)\n  -n str, --from-name str\n                        From name NAME (default: None)\n  -s str, --subject str\n                        Subject (default: None)\n  -H, --html            send as html instead of plain text (default: False)\n\nEmail body (HTML) is read from stdin, supply your API key with SENDGRID_API_KEY environment variable\n\n```\n\n### On GitHub Actions\n\nBelow is a working job configuration\n\n```yaml\n  send-mail:\n    runs-on: ubuntu-latest\n    steps:\n      - name: setup python 3.10\n        uses: actions/setup-python@v4\n        with:\n          python-version: '3.10'\n      - name: install CLI tools\n        run: pipx install sendgrid-cli\n      - name: Send email\n        env:\n          SENDGRID_API_KEY: ${{ secrets.SENDGRID_API_KEY }}\n        run: |\n          cat email-body.html | sendgrid -f 'from@example.com' -n 'from-name' -t 'to@example.com' -s 'sendgrid-cli test' --html\n```\n\n## Develop\n\n```\n$ git clone https://github.com/tddschn/sendgrid-cli.git\n$ cd \n$ poetry install\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Fsendgrid-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftddschn%2Fsendgrid-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftddschn%2Fsendgrid-cli/lists"}