{"id":19041029,"url":"https://github.com/everythingme/pystream","last_synced_at":"2025-04-23T21:25:00.929Z","repository":{"id":62583838,"uuid":"37662328","full_name":"EverythingMe/pystream","owner":"EverythingMe","description":"Stream backups directly to/from S3/HDFS without wasting disk space during the process","archived":false,"fork":false,"pushed_at":"2015-06-19T09:23:19.000Z","size":123,"stargazers_count":14,"open_issues_count":1,"forks_count":2,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-14T15:57:36.886Z","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":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EverythingMe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-18T13:53:03.000Z","updated_at":"2022-02-17T01:58:11.000Z","dependencies_parsed_at":"2022-11-03T21:50:56.691Z","dependency_job_id":null,"html_url":"https://github.com/EverythingMe/pystream","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/EverythingMe%2Fpystream","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EverythingMe%2Fpystream/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EverythingMe%2Fpystream/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EverythingMe%2Fpystream/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EverythingMe","download_url":"https://codeload.github.com/EverythingMe/pystream/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250515942,"owners_count":21443517,"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-08T22:26:35.504Z","updated_at":"2025-04-23T21:25:00.905Z","avatar_url":"https://github.com/EverythingMe.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pystream\n\nStream backups directly to/from S3/HDFS without wasting disk space during the process.  \nThis tool is a command line interface for the [smart_open](https://pypi.python.org/pypi/smart_open/) library\n\n## Installation\n\n`pip install pystream`\n\n## Usage\n\nStream `mysqldump` directly to S3 without wasting any additional disk space during the dump process\n```\nmysqldump | gzip | pystream - s3://backups/mysqldump.gz\n```\n\nRestore MySQL backup directly from S3\n```\npystream s3://backups/mysqldump.gz - | gunzip | mysql\n```\n\nStream a tarball to S3\n```\ntar cz . | pystream - s3://backups/backup.tar.gz\n```\n\nStream a tarball from S3\n```\npystream s3://backups/backup.tar.gz - | tar xz\n```\n\nS3 `cat`\n```\npystream s3://bucket/path/to/key -\n```\n\nAnd the usual `s3cmd cp` like usage:\n```\npystream s3://bucket/path/to/key /path/on/filesystem\n\npystream /path/on/filesystem s3://bucket/path/to/key\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feverythingme%2Fpystream","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feverythingme%2Fpystream","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feverythingme%2Fpystream/lists"}