{"id":21844270,"url":"https://github.com/pastas/pastastore","last_synced_at":"2026-02-04T22:08:05.813Z","repository":{"id":37250786,"uuid":"218981736","full_name":"pastas/pastastore","owner":"pastas","description":":spaghetti: :convenience_store: Tools for managing timeseries and Pastas models","archived":false,"fork":false,"pushed_at":"2026-01-28T17:07:01.000Z","size":13416,"stargazers_count":19,"open_issues_count":9,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2026-01-29T06:30:38.824Z","etag":null,"topics":["analysis","arctic","data-management","database","groundwater","hydrology","pandas","pastas","python","timeseries"],"latest_commit_sha":null,"homepage":"https://pastastore.readthedocs.io","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/pastas.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-11-01T12:32:00.000Z","updated_at":"2025-11-03T08:46:06.000Z","dependencies_parsed_at":"2023-12-04T12:24:23.824Z","dependency_job_id":"a930b977-d789-430e-9ee2-9686ab950adb","html_url":"https://github.com/pastas/pastastore","commit_stats":{"total_commits":673,"total_committers":6,"mean_commits":"112.16666666666667","dds":0.1783060921248143,"last_synced_commit":"5debef88119b3f49ea44a96e722226b3704464ec"},"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"purl":"pkg:github/pastas/pastastore","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastas%2Fpastastore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastas%2Fpastastore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastas%2Fpastastore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastas%2Fpastastore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pastas","download_url":"https://codeload.github.com/pastas/pastastore/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pastas%2Fpastastore/sbom","scorecard":{"id":721584,"data":{"date":"2025-08-11","repo":{"name":"github.com/pastas/pastastore","commit":"33fa8e917f75e36f84ac1c1038c9663c678240d8"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Code-Review","score":6,"reason":"Found 5/8 approved changesets -- score normalized to 6","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":"Maintained","score":3,"reason":"4 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"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":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/python-publish.yml:1","Info: no jobLevel write permissions found"],"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":"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/pastas/pastastore/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/pastas/pastastore/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/pastas/pastastore/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/pastas/pastastore/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:73: update your workflow using https://app.stepsecurity.io/secureworkflow/pastas/pastastore/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:76: update your workflow using https://app.stepsecurity.io/secureworkflow/pastas/pastastore/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:99: update your workflow using https://app.stepsecurity.io/secureworkflow/pastas/pastastore/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/pastas/pastastore/python-publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/python-publish.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/pastas/pastastore/python-publish.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:32","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:33","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:84","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:85","Warn: pipCommand not pinned by hash: .github/workflows/ci.yml:86","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:25","Warn: pipCommand not pinned by hash: .github/workflows/python-publish.yml:26","Info:   0 out of   6 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   7 pipCommand dependencies pinned"],"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":"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":"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":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"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":"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":"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":"Vulnerabilities","score":4,"reason":"6 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-29gw-9793-fvw7","Warn: Project is vulnerable to: PYSEC-2015-24 / GHSA-4vwq-x64q-j4cj","Warn: Project is vulnerable to: PYSEC-2017-46 / GHSA-66gw-5xpf-gfp5","Warn: Project is vulnerable to: PYSEC-2015-25 / GHSA-92mr-v722-f48m","Warn: Project is vulnerable to: PYSEC-2022-12 / GHSA-pq7m-3gw7-gq5x","Warn: Project is vulnerable to: PYSEC-2017-47"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 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"}}]},"last_synced_at":"2025-08-22T11:31:31.415Z","repository_id":37250786,"created_at":"2025-08-22T11:31:31.415Z","updated_at":"2025-08-22T11:31:31.415Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29097334,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-04T21:05:08.033Z","status":"ssl_error","status_checked_at":"2026-02-04T21:04:53.031Z","response_time":62,"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":["analysis","arctic","data-management","database","groundwater","hydrology","pandas","pastas","python","timeseries"],"created_at":"2024-11-27T22:18:54.090Z","updated_at":"2026-02-04T22:08:05.807Z","avatar_url":"https://github.com/pastas.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"![pastastore](https://github.com/pastas/pastastore/workflows/pastastore/badge.svg)\n[![Documentation Status](https://readthedocs.org/projects/pastastore/badge/?version=latest)](https://pastastore.readthedocs.io/en/latest/?badge=latest)\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/81b1e0294f5247cfa4eca657a8eebc61)](https://www.codacy.com/gh/pastas/pastastore?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=pastas/pastastore\u0026utm_campaign=Badge_Grade)\n[![Codacy Badge](https://app.codacy.com/project/badge/Coverage/81b1e0294f5247cfa4eca657a8eebc61)](https://www.codacy.com/gh/pastas/pastastore/dashboard?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=pastas/pastastore\u0026utm_campaign=Badge_Coverage)\n![PyPI](https://img.shields.io/pypi/v/pastastore)\n\n# pastastore\n\nThis module stores \n[Pastas](https://pastas.readthedocs.io/latest/) time series and models in a\ndatabase.\n\nStoring time series and models in a database allows the user to manage time\nseries and Pastas models on disk, which allows the user to pick up where they\nleft off without having to reload everything.\n\n## Installation\n\nInstall the module with `pip install pastastore`.\n\nFor development, clone the repository and install all development, testing, and\ndocumentation dependencies with:\n\n```sh\npip install -e .[dev]\n```\n\nFor plotting background maps, the `contextily` and `pyproj` packages are\nrequired. For a full install, including optional dependencies for plotting and\nlabeling data on maps, use: `pip install pastastore[optional]` Windows users\nare asked to install `rasterio` themselves since it often cannot be installed\nusing `pip`. `rasterio` is a dependency of `contextily`.\n\n## Usage\n\nThe following snippets show typical usage. The first step is to define a\nso-called `Connector` object. This object contains methods to store time series\nor models to the database, or read objects from the database.\n\nThe following code creates a PasConnector, which uses Pastas JSON-styled\n\"`.pas`-files\" to save models in a folder on your computer (in this case a\nfolder called `pastas_db` in the current directory).\n\n```python\nimport pastastore as pst\n\n# create connector instance\nconn = pst.PasConnector(name=\"pastas_db\", path=\".\")\n```\n\nThe next step is to pass that connector to the `PastaStore` object. This object\ncontains all kinds of useful methods to analyze and visualize time series, and\nbuild and analyze models.\n\n```python\n# create PastaStore instance\npstore = pst.PastaStore(conn)\n```\n\nNow the user can add time series, models or analyze or visualize existing\nobjects in the database. Some examples showing the functionality of the\nPastaStore object are shown below:\n\n```python\nimport pandas as pd\nimport pastas as ps\n\n# load oseries from CSV and add to database\noseries = pd.read_csv(\"oseries.csv\")\npstore.add_oseries(oseries, \"my_oseries\", metadata={\"x\": 100_000, \"y\": 400_000})\n\n# read oseries from database\noseries = pstore.get_oseries(\"my_oseries\")\n\n# view oseries metadata DataFrame\npstore.oseries\n\n# plot oseries location on map\nax = pstore.maps.oseries()\npstore.maps.add_background_map(ax)  # add a background map\n\n# plot my_oseries time series\nax2 = pstore.plot.oseries(names=[\"my_oseries\"])\n\n# create a model with pastas\nml = ps.Model(oseries, name=\"my_model\")\n\n# add model to database\npstore.add_model(ml)\n\n# load model from database\nml2 = pstore.get_models(\"my_model\")\n\n# export whole database to a zip file\npstore.to_zip(\"my_backup.zip\")\n```\n\nFor more elaborate examples, refer to the\n[Notebooks](https://pastastore.readthedocs.io/en/latest/examples.html#example-notebooks).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpastas%2Fpastastore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpastas%2Fpastastore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpastas%2Fpastastore/lists"}