{"id":22096766,"url":"https://github.com/cipherstash/pyconau2024-tutorial","last_synced_at":"2025-04-09T23:25:28.335Z","repository":{"id":264539576,"uuid":"889058218","full_name":"cipherstash/pyconau2024-tutorial","owner":"cipherstash","description":"Secure, break, and re-secure an encrypted data vault with Python And PostgreSQL","archived":false,"fork":false,"pushed_at":"2025-03-06T04:24:53.000Z","size":69,"stargazers_count":2,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T01:17:57.930Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://2024.pycon.org.au/program/HBB3ST/","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/cipherstash.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":"2024-11-15T14:28:22.000Z","updated_at":"2024-11-26T04:11:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"cf488273-cab8-4887-b86f-6495a4e5f617","html_url":"https://github.com/cipherstash/pyconau2024-tutorial","commit_stats":null,"previous_names":["cipherstash/pyconau2024-tutorial"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cipherstash%2Fpyconau2024-tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cipherstash%2Fpyconau2024-tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cipherstash%2Fpyconau2024-tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cipherstash%2Fpyconau2024-tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cipherstash","download_url":"https://codeload.github.com/cipherstash/pyconau2024-tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248127643,"owners_count":21052260,"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-01T04:12:27.612Z","updated_at":"2025-04-09T23:25:28.289Z","avatar_url":"https://github.com/cipherstash.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PyCon AU 2024 encrypted data vault tutorial\n\nCode that accompanies the Monday November 25 tutorial [How to secure, break, and re-secure an encrypted data vault using Python and PostgreSQL](https://2024.pycon.org.au/program/HBB3ST/) at PyCon AU 2024\n\n## Quickstart\n\nMake sure you have these dependencies installed:\n\n- Python\n- git\n- Docker\n\nThen run the app:\n\n```bash\n# Clone the repo\ngit clone https://github.com/cipherstash/pyconau2024-tutorial\ncd pyconau2024-tutorial\n\n# Install dependencies\npython3 -m venv .venv\n. .venv/bin/activate\npip install -r requirements.txt\n\n# Start the database\ndocker compose up -d\n\n# Setup the database schema and fake data\npython init_db.py\n\n# Run the app\nflask run --debug\n```\n\nNow query the API:\n\n```bash\n# List all users\ncurl http://127.0.0.1:5000/users\n```\n\nIf you need to reset the database at any point, run:\n\n```bash\npython init_db.py\n```\n\n## Development\n\nTo update dependencies:\n\n```bash\n# Make sure the virtualenv is activated\n. .venv/bin/activate\n\n# Install the new dependency\npip install -U Flask-SQLAlchemy\n\n# Update requirements\npip freeze \u003e requirements.txt\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcipherstash%2Fpyconau2024-tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcipherstash%2Fpyconau2024-tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcipherstash%2Fpyconau2024-tutorial/lists"}