{"id":30740027,"url":"https://github.com/openmined/syft-client","last_synced_at":"2025-09-03T23:47:45.116Z","repository":{"id":311197879,"uuid":"1041143828","full_name":"OpenMined/syft-client","owner":"OpenMined","description":"A simple client library for setting up secure communication channels using Google Drive.","archived":false,"fork":false,"pushed_at":"2025-08-29T19:09:02.000Z","size":1913,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-29T21:44:02.934Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenMined.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,"zenodo":null},"funding":{"github":"openmined"}},"created_at":"2025-08-20T03:48:10.000Z","updated_at":"2025-08-29T02:44:31.000Z","dependencies_parsed_at":"2025-08-22T19:58:16.850Z","dependency_job_id":null,"html_url":"https://github.com/OpenMined/syft-client","commit_stats":null,"previous_names":["openmined/syft-client"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OpenMined/syft-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fsyft-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fsyft-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fsyft-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fsyft-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenMined","download_url":"https://codeload.github.com/OpenMined/syft-client/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenMined%2Fsyft-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273529548,"owners_count":25121828,"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","status":"online","status_checked_at":"2025-09-03T02:00:09.631Z","response_time":76,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-09-03T23:47:41.957Z","updated_at":"2025-09-03T23:47:45.108Z","avatar_url":"https://github.com/OpenMined.png","language":"Python","funding_links":["https://github.com/sponsors/openmined"],"categories":[],"sub_categories":[],"readme":"# Syft Client\n\nA simple client library for setting up secure communication channels using Google Drive.\n\n## Installation\n\n```bash\npip install -e .\n```\n\n## Quick Start\n\n```python\nimport syft_client as sc\n\n# Login with your email\nclient = sc.login(\"your_email@gmail.com\", \"credentials.json\", verbose=False)\n\n# Reset/create your SyftBoxTransportService folder\nclient.reset_syftbox()\n\n# Add a friend\nclient.add_friend(\"friend@gmail.com\")\n\n# Check your friends\nclient.friends  # Returns: ['friend@gmail.com']\n\n# Check friend requests (people who shared with you)\nclient.friend_requests  # Returns: ['other@gmail.com']\n```\n\n## Core Features\n\n### Login\nThe `login()` function handles authentication:\n```python\n# With credentials file\nclient = sc.login(\"your_email@gmail.com\", \"credentials.json\")\n\n# Without verbose output\nclient = sc.login(\"your_email@gmail.com\", verbose=False)\n```\n\n### Friend Management\n```python\n# Add a friend (creates folders and permissions)\nclient.add_friend(\"friend@gmail.com\")\n\n# List your friends\nclient.friends  # ['friend@gmail.com']\n\n# See who wants to connect with you\nclient.friend_requests  # ['person@gmail.com']\n```\n\n### Reset SyftBox\n```python\n# Delete and recreate your SyftBoxTransportService folder\nclient.reset_syftbox()\n```\n\n## How It Works\n\nWhen you add a friend, the system creates:\n1. **Your outgoing channel** - Folders you control for sending\n2. **Your archive** - Where you store processed messages from them\n3. **Shortcuts** - Links to any folders they've shared with you\n\nYour friend does the same on their side to complete the bidirectional setup.\n\n## First Time Setup\n\nIf you don't have Google Drive API credentials yet, the `login()` function will guide you through creating them when you first run it.\n\n## Credential Storage\n\nCredentials are stored securely in `~/.syft/gdrive/` so you only need to authenticate once per account.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmined%2Fsyft-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmined%2Fsyft-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmined%2Fsyft-client/lists"}