{"id":16170524,"url":"https://github.com/jrmi/pyfiles","last_synced_at":"2026-01-31T18:32:16.260Z","repository":{"id":46084266,"uuid":"165928995","full_name":"jrmi/pyfiles","owner":"jrmi","description":"Big file collection manager","archived":false,"fork":false,"pushed_at":"2022-12-26T20:46:57.000Z","size":56,"stargazers_count":0,"open_issues_count":5,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-04T07:46:35.268Z","etag":null,"topics":["big-data","data","opendata"],"latest_commit_sha":null,"homepage":null,"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/jrmi.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.rst","contributing":"CONTRIBUTING.rst","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-01-15T21:50:16.000Z","updated_at":"2021-11-08T16:23:59.000Z","dependencies_parsed_at":"2023-01-31T01:31:03.376Z","dependency_job_id":null,"html_url":"https://github.com/jrmi/pyfiles","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jrmi/pyfiles","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrmi%2Fpyfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrmi%2Fpyfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrmi%2Fpyfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrmi%2Fpyfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jrmi","download_url":"https://codeload.github.com/jrmi/pyfiles/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jrmi%2Fpyfiles/sbom","scorecard":{"id":536882,"data":{"date":"2025-08-11","repo":{"name":"github.com/jrmi/pyfiles","commit":"d38b8f4f4ed4e4879333c84c24608629d11329cd"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.9,"checks":[{"name":"Code-Review","score":1,"reason":"Found 2/16 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"16 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: PYSEC-2023-120 / GHSA-45c4-8wx5-qw6w","Warn: Project is vulnerable to: GHSA-5m98-qgg9-wh84","Warn: Project is vulnerable to: GHSA-7gpw-8wmc-pm8g","Warn: Project is vulnerable to: GHSA-8495-4g3g-x7pr","Warn: Project is vulnerable to: PYSEC-2024-26 / GHSA-8qpw-xqxj-h4r2","Warn: Project is vulnerable to: GHSA-9548-qrrj-x5pj","Warn: Project is vulnerable to: PYSEC-2023-246 / GHSA-gfw2-4jvh-wgfg","Warn: Project is vulnerable to: GHSA-pjjw-qhg8-p2p9","Warn: Project is vulnerable to: PYSEC-2023-250 / GHSA-q3qx-c6g2-7pw2","Warn: Project is vulnerable to: PYSEC-2023-251 / GHSA-qvrw-v9rv-5rjx","Warn: Project is vulnerable to: PYSEC-2021-76 / GHSA-v6wp-4m6f-gcjg","Warn: Project is vulnerable to: PYSEC-2023-247 / GHSA-xx9p-xxvh-7g8j","Warn: Project is vulnerable to: PYSEC-2021-437 / GHSA-5xp3-jfq3-5q8x","Warn: Project is vulnerable to: PYSEC-2020-173 / GHSA-gpvv-69j7-gwj8","Warn: Project is vulnerable to: PYSEC-2023-228 / GHSA-mq26-g339-26xf","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T07:12:28.521Z","repository_id":46084266,"created_at":"2025-08-20T07:12:28.521Z","updated_at":"2025-08-20T07:12:28.521Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28949395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["big-data","data","opendata"],"created_at":"2024-10-10T03:19:02.133Z","updated_at":"2026-01-31T18:32:16.240Z","avatar_url":"https://github.com/jrmi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"=======\nBygfiles\n=======\n\n\n.. image:: https://img.shields.io/pypi/v/bygfiles.svg\n        :target: https://pypi.python.org/pypi/bygfiles\n\n.. image:: https://img.shields.io/travis/jrmi/pyfiles.svg\n        :target: https://travis-ci.org/jrmi/pyfiles\n\n.. image:: https://readthedocs.org/projects/pyfiles/badge/?version=latest\n        :target: https://pyfiles.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n\n.. image:: https://pyup.io/repos/github/jrmi/pyfiles/shield.svg\n     :target: https://pyup.io/repos/github/jrmi/pyfiles/\n     :alt: Updates\n\n\n\nA Big file collection manager.\n\nInstall\n-------\n\nIn a virtual env:\n\n\n.. code-block:: sh\n\n    python3 -m venv .venv\n    source .venv/bin/activate\n    pip install -U pip wheel\n    pip install git+git://github.com/jrmi/pyfiles@master # Or any last commit\n    # Then create your setup.py file before using CLI\n\nCLI\n---\n\nCreate a `settings.py` files where you want to execute the cli with\nthis configuration for file storage:\n\n.. code-block:: python\n\n    BACKEND = \"bygfiles.storages.diskstorage.DiskStorage\"\n\n    BACKEND_OPTIONS = {\n        \"basepath\": \"/tmp/tmpdir\",\n        \"base_url\": \"http://localhost:8000\"\n    }\n\nAnd for S3:\n\n.. code-block:: python\n\n    BACKEND = \"bygfiles.storages.s3storage.S3Storage\"\n\n    BACKEND_OPTIONS = {\n        \"access_key\":\"\u003cyou-S3-access-key\u003e\",\n        \"secret_key\":\"\u003cyou-S3-secret-key\u003e\",\n        \"endpoint_url\":\"\u003cS3-api-endpoint\u003e\",\n        \"region_name\":\"\u003cregion\u003e\",\n        \"bucket_name\":\"\u003cbucket name\u003e\",\n\n    }\n\nThen to store a file:\n\n.. code-block:: sh\n\n    $ bygfiles store \u003cfile path\u003e \u003cfile.namespace\u003e \u003cfile.name\u003e \u003cversion\u003e\n\n`version` should respect the format: YYYY.MM.DD-Rev\nor any `semver \u003chttps://semver.org/\u003e`_ like X.Y.Z\n\nTo list all version of a file:\n\n.. code-block:: sh\n\n    $ bygfiles versions \u003cfile.namespace\u003e \u003cfile.name\u003e\n\nTo search for a file:\n\n.. code-block:: sh\n\n    $ bygfiles search \u003cfile.namespace\u003e \u003cfile.name\u003e [\u003cversion-prefix\u003e]\n\n`version-prefix` can be YYYY or X or YYYY.MM or X.Y or YYYY.MM.DD or X.Y.Z or Latest. Latest by default if missing.\n\nFinnaly to delete a file:\n\n.. code-block:: sh\n\n    $ bygfiles delete \u003cfile.namespace\u003e \u003cfile.name\u003e \u003cversion\u003e\n\nTo start the web api server:\n\n.. code-block:: sh\n\n    $ bygfiles serve\n\n\nWeb API\n-------\n\n    **GET** on `/search/\u003cnamespace\u003e/\u003cfilename\u003e[?version=\u003cversion\u003e]`\n\nTo get file version download link. `Namespace` is a namespace to organise data and `filename` is the file name.\nYou can optionnaly add a version like `latest` or `\u003cyear\u003e` or `\u003cyear.month\u003e` or `\u003cmajor\u003e` or `\u003cmajor\u003e.\u003cminor\u003e`, ...\nYou get the latest for the specified version.\n\n    **GET** on `/versions/\u003cnamespace\u003e/\u003cfilename\u003e`\n\nTo show all avaible file versions.\n\nPython API\n----------\n\nSee bygfiles.storage classes for more informations.\n\nYou can use `bygfiles.storage.get_storage(\u003cbackend path\u003e, \u003coptions\u003e)` to initialize\nyour storage.\n\nFeatures\n--------\n\n* An API to download files with rich version selection\n* List all version of a file\n* Can be used for CSV or Geojson files\n* File can have version like 2018.01.10-01\n* Find file by a part of the version. `2018` or `2018.01`\n\nRoadmap\n-------\n\n* Allow authentification with private data\n* Handle file diff between versions\n* Get the update date of a file to ease caching\n* Add a client library and CLI\n\nLicense\n-------\n\n* Free software: MIT license\n* Documentation: https://pyfiles.readthedocs.io.\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrmi%2Fpyfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjrmi%2Fpyfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjrmi%2Fpyfiles/lists"}