{"id":18251793,"url":"https://github.com/hiroakis/sendgrid-bigquery","last_synced_at":"2025-04-08T20:46:49.777Z","repository":{"id":145130911,"uuid":"45679361","full_name":"hiroakis/sendgrid-bigquery","owner":"hiroakis","description":"insert sendgrid event notification to google bigquery","archived":false,"fork":false,"pushed_at":"2015-11-09T03:16:09.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T16:39:43.399Z","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/hiroakis.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}},"created_at":"2015-11-06T11:55:41.000Z","updated_at":"2016-07-25T02:16:05.000Z","dependencies_parsed_at":"2023-04-12T10:01:31.438Z","dependency_job_id":null,"html_url":"https://github.com/hiroakis/sendgrid-bigquery","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fsendgrid-bigquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fsendgrid-bigquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fsendgrid-bigquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hiroakis%2Fsendgrid-bigquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hiroakis","download_url":"https://codeload.github.com/hiroakis/sendgrid-bigquery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247927087,"owners_count":21019504,"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-05T09:48:30.279Z","updated_at":"2025-04-08T20:46:49.762Z","avatar_url":"https://github.com/hiroakis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sendgrid-bigquery\n\nThis is a tool that inserts sendgrid notification to google bigquery.\nThe tool using Python 2.7 because I'm going to deploy this tool to AWS Lambda. But there is a problem(see TODO section) which I faced with.\n\n## Installation \u0026 Preparement\n\n* create google.yml and google.p12\n\nCopy `config/google.yml.example` to `config/google.yml`. And put google.p12 to `config/google.p12`.\n\n* create tables on google bigquery.\n\n```\npython manage.py create\n```\n\nIf you would like to delete dataset, execute `python manage.py delete`.\n\n* run app.py\n\n```\npython app.py\n```\n\n* configure sendgrid webhook\n\nVisit sendgrid console, then SETTINGS -\u003e Mail Settings -\u003e Event Notification.\n\n## Note\n\nThe tool will encrypt email with sha256 and salt before insert to bigquery.\nYou can obtain hash value as following.\n\n```\npython -c \"import hashlib; print hashlib.sha256('user@raw.email' + 'SALT').hexdigest()\"\n```\n\n## TODO\n\nDeploy to AWS Lambda + AWS API Gateway. I tried it, however I faced with following problem.\nI couldn't deploy this application to the AWS Lambda.\n\n```\nSTART RequestId: XXXXXXXXXXXX Version: $LATEST\nmodule initialization error: No crypto library available\n\nEND RequestId: XXXXXXXXXXXXXXX\nREPORT RequestId: XXXXXXXXXX  Duration: 0.35 ms   Billed Duration: 100 ms     Memory Size: 256 MB Max Memory Used: 14 MB  \n```\n\nHow do I solve this problem?\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Fsendgrid-bigquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhiroakis%2Fsendgrid-bigquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhiroakis%2Fsendgrid-bigquery/lists"}