{"id":37756955,"url":"https://github.com/ondics/ckanext-partialview","last_synced_at":"2026-01-16T14:31:06.500Z","repository":{"id":292176756,"uuid":"980059651","full_name":"ondics/ckanext-partialview","owner":"ondics","description":"CKAN extension to enable previews for long `txt` and `csv` files","archived":false,"fork":false,"pushed_at":"2025-06-04T09:55:28.000Z","size":51,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-04T18:40:30.899Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ondics.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":"publiccode.yml","codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-08T13:53:03.000Z","updated_at":"2025-06-04T09:48:33.000Z","dependencies_parsed_at":"2025-09-04T18:27:57.156Z","dependency_job_id":"4989e9be-bfdd-4082-a2d6-ba6659ae36be","html_url":"https://github.com/ondics/ckanext-partialview","commit_stats":null,"previous_names":["ondics/ckanext-partialview"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/ondics/ckanext-partialview","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondics%2Fckanext-partialview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondics%2Fckanext-partialview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondics%2Fckanext-partialview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondics%2Fckanext-partialview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ondics","download_url":"https://codeload.github.com/ondics/ckanext-partialview/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ondics%2Fckanext-partialview/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479396,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: 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":[],"created_at":"2026-01-16T14:31:06.401Z","updated_at":"2026-01-16T14:31:06.491Z","avatar_url":"https://github.com/ondics.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ckanext-partialview\n\nCKAN extension to enable preview for long `txt` and `csv` files.\n\nIn txt/csv previews this extensions limits the number of\nlines displayed for text files in a CKAN repository. \n\nThis is especially useful for large files such as CSV tables.\n\nBy showing only the first few lines, it keeps the\ninterface clean while still providing a clear overview of\nthe file's content.\n\nThis CKAN Extension enables resource previews \nfor large `txt` and `csv` files.\n\nTested on CKAN 2.10 and 2.11\n\nPublished on\n\n* Github: https://github.com/ondics/ckanext-partialview (major,minor,patch releases)\n* OpenCode: https://gitlab.opencode.de/friedrich-loeffler-institut/fdm/ckanext-partialview (major/minor releases)\n\n## Installation\n\n### Source Installation\n\nExtract the ZIP file containing ckanext-partialview e.g.:\n\n    unzip ckanext-partialview.zip -d /usr/lib/ckan/default/src\n\nActivate your CKAN virtual environment:\n\n    . /usr/lib/ckan/default/bin/activate\n\nInstall extension inside the virtual environment:\n\n    cd ckanext-partialview\n    pip install .\n\nMake sure to add pages to ckan.plugins in your config file, located\nin `/etc/ckan/default/ckan.ini` by default:\n\n    ckan.plugins = ... textpreview csvpreview ...\n\nRestart CKAN:\n\n    supervisorctl restart ckan-uwsgi:  \n\n\n### Installation using Docker\n\nDownload and extract the ZIP file containing ckanext-partialview \nin `./ckan-extensions` e.g.:\n\n    unzip ckanext-partialview.zip\n\nCopy and install via `Dockerfile`:\n\n    COPY ckan-extensions/ $SRC_DIR\n    RUN cd $SRC_DIR/ckanext-partialview \u0026\u0026 \\\n        python3 setup.py develop\n\nAdd the plugins to `CKAN__PLUGINS` in your .env file:\n\n    CKAN__PLUGINS = textpreview csvpreview\n\nRestart CKAN container:\n\n    docker restart ckan\n\n## Configuration\n\nThis extension includes two new resource views to your CKAN instance.  \n\n**textpreview**: Supported for file formats such as `text/plain`, `txt`, `plain`, `xml`, `rdf`, `rdf+xml`, `owl+xml`, `atom`, `rss`, `json` and `csv`.  \n\n**csvpreview**: Specifically for  `csv` files. \n\nSelect the resource view in resource setting user interface.\n\nThe number of lines displayed is adjustable in the user \ninterface. By default, the first 20 lines are shown.\nThis value may be configured using:\n\n    ckanext.partialview_max_rows = 20\n\nIf the setting is omitted, it defaults to 20.\n\n## License\n\nReleased under the GNU Affero General Public License v3.0 or later. \n\nSee the file LICENSE for details.\n\n## Author\n\n(C) 2025, Ondics GmbH on behalf of FLI Friedrich-Loeffler-Institut, Bundesforschungsinstitut für Tiergesundheit \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fondics%2Fckanext-partialview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fondics%2Fckanext-partialview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fondics%2Fckanext-partialview/lists"}