{"id":18696919,"url":"https://github.com/vra/reuse","last_synced_at":"2026-05-03T09:37:54.295Z","repository":{"id":62583156,"uuid":"158572962","full_name":"vra/reuse","owner":"vra","description":"Collection of useful python functions (reuse again and again). https://py-reuse.readthedocs.io","archived":false,"fork":false,"pushed_at":"2018-11-25T11:51:06.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T09:18:26.744Z","etag":null,"topics":["collection","linux","python","script","tools","utils"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vra.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":"2018-11-21T15:58:51.000Z","updated_at":"2018-11-25T11:51:08.000Z","dependencies_parsed_at":"2022-11-03T22:01:55.091Z","dependency_job_id":null,"html_url":"https://github.com/vra/reuse","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/vra%2Freuse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vra%2Freuse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vra%2Freuse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vra%2Freuse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vra","download_url":"https://codeload.github.com/vra/reuse/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239558930,"owners_count":19658929,"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":["collection","linux","python","script","tools","utils"],"created_at":"2024-11-07T11:21:50.838Z","updated_at":"2025-11-08T15:30:39.051Z","avatar_url":"https://github.com/vra.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# reuse\nCollection of useful python functions (reuse again and again).\n\n[![Build Status](https://travis-ci.com/vra/reuse.svg?branch=master)](https://travis-ci.com/vra/reuse)\n\nHere is a demo about how to use: [Demo](https://asciinema.org/a/m0fEneiY03JwiEzc20ERG99Vl).\n\n# supported platform\n * Linux\n * python2.7 and higher\n * python3.5 and higher\n \n# installation\n```bash\npip3 install --user py-reuse\n```\n\n# how to use\n```python\nimport reuse as rs\n\nrs.check_exist('/path/to/dir') # Check if a file or directory exist\nrs.create_dir_if_not_exist('/path/to/new/dir') # Create a directory only when it didn't exist\n...\n\n```\ndocs: \u003chttps://py-reuse.readthedocs.io\u003e.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvra%2Freuse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvra%2Freuse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvra%2Freuse/lists"}