{"id":18850406,"url":"https://github.com/jasperfx/weasel","last_synced_at":"2026-04-02T18:26:11.865Z","repository":{"id":39874614,"uuid":"264531976","full_name":"JasperFx/weasel","owner":"JasperFx","description":"Database Development Made Easy for .Net","archived":false,"fork":false,"pushed_at":"2026-03-25T21:52:34.000Z","size":1565,"stargazers_count":93,"open_issues_count":17,"forks_count":33,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-03-26T19:25:26.707Z","etag":null,"topics":["database","mssql","postgresql","sql"],"latest_commit_sha":null,"homepage":"","language":"C#","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/JasperFx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["JasperFx"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-05-16T21:37:32.000Z","updated_at":"2026-03-25T18:45:37.000Z","dependencies_parsed_at":"2023-02-19T02:00:30.209Z","dependency_job_id":"c79398a5-f61e-4b7c-bdc3-4e8c246a25d1","html_url":"https://github.com/JasperFx/weasel","commit_stats":null,"previous_names":[],"tags_count":77,"template":false,"template_full_name":null,"purl":"pkg:github/JasperFx/weasel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasperFx%2Fweasel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasperFx%2Fweasel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasperFx%2Fweasel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasperFx%2Fweasel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JasperFx","download_url":"https://codeload.github.com/JasperFx/weasel/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JasperFx%2Fweasel/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31253157,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-31T18:32:52.363Z","status":"ssl_error","status_checked_at":"2026-03-31T18:32:51.507Z","response_time":111,"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":["database","mssql","postgresql","sql"],"created_at":"2024-11-08T03:29:16.849Z","updated_at":"2026-04-02T18:26:11.857Z","avatar_url":"https://github.com/JasperFx.png","language":"C#","readme":"# Weasel\n\n[![Nuget Package](https://badgen.net/nuget/v/weasel.core)](https://www.nuget.org/packages/Weasel.Core/)\n[![Nuget](https://img.shields.io/nuget/dt/weasel.core)](https://www.nuget.org/packages/Weasel.Core/)\n\nWeasel is a library for low level database development with Postgresql and Sql Server. Weasel is in the process of being extracted from [Marten](https://martendb.io) with the goal of making this code reusable in other projects.\n\nRead also more in [Introducing Weasel for Database Development](https://jeremydmiller.com/2023/08/15/introducing-weasel-for-database-development/) by [Jeremy D. Miller](https://github.com/jeremydmiller).\n\n## Support Plans\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://www.jasperfx.net/logo.png\" alt=\"JasperFx logo\" width=\"70%\"\u003e\n\u003c/div\u003e\n\nWhile Weasel is open source, [JasperFx Software offers paid support and consulting contracts](https://jasperfx.net/support-plans/) for Weasel. \n\n## Key Components\n\n*   **Core**: Foundational interfaces and base classes for database interactions.\n*   **Postgresql**: Types and classes specific to PostgreSQL database features.\n*   **SqlServer**: Types and classes specific to SQL Server database features.\n*   **Schema**: Tools for managing database schema.\n\n## Usage\n\n### Setting up databases locally\n\nTo run tests, you need to set up databases locally. The easiest option is to do it by running Docker images. You can use [predefined Docker Compose setup](./docker-compose.yml) by calling in your terminal:\n\n```bash\ndocker compose up\n```\n\nIt'll spin up PostgreSQL and MSSQL databases.\n\nThen, you can run tests from the terminal:\n\n```bash\ndotnet test\n```\n\nOr your favourite IDE.\n\n### Test Config Customization\n\nSome of our tests are run against a particular PostgreSQL version. If you'd like to run different database versions, you can do it by setting `POSTGRES_IMAGE` or `MSSQL_IMAGE` env variables, for instance:\n\n```bash\nPOSTGRES_IMAGE=postgres:15.3-alpine MSSQL_IMAGE=mcr.microsoft.com/mssql/server:2022-latest docker compose up\n```\n\nBy default Postgres tests are run with case insensitive names. To run tests against case sensitive, set environment variable:\n\n```\nUSE_CASE_SENSITIVE_QUALIFIED_NAMES=true\n```\n\n## Support Plans\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://www.jasperfx.net/wp-content/uploads/2023/07/logo-alt-min.png\" alt=\"JasperFx logo\" width=\"70%\"\u003e\n\u003c/div\u003e\n\nWhile Weasel is open source, [JasperFx Software offers paid support and consulting contracts](https://bit.ly/3szhwT2) for Weasel.\n","funding_links":["https://github.com/sponsors/JasperFx"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasperfx%2Fweasel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasperfx%2Fweasel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasperfx%2Fweasel/lists"}