AI-First Personal Knowledge Management - Shared Backend
Project description
Goldfish Backend
Shared backend package for the Goldfish AI-First Personal Knowledge Management system.
Overview
This package contains the core shared components used by both the Goldfish CLI and web application:
- Models: SQLModel database models for all entities
- Services: Business logic layer for entity recognition and management
- Core: Database connection, authentication, and utility functions
- CLI: Command-line interface components
Installation
pip install goldfish-backend
Usage
This package is designed to be used as a dependency by the Goldfish CLI and web application. It provides the shared data layer and business logic.
In your code:
from goldfish_backend.models import User, Person, Project, Task
from goldfish_backend.services import EntityRecognitionService
from goldfish_backend.core.database import get_session
Development
# Install with development dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run type checking
mypy src/
# Format code
black src/ tests/
Architecture
models/: SQLModel database modelsservices/: Business logic servicescore/: Core utilities (database, auth)cli/: Command-line interface components
License
MIT License
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file goldfish_backend-0.1.5.tar.gz.
File metadata
- Download URL: goldfish_backend-0.1.5.tar.gz
- Upload date:
- Size: 25.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e554e30c09d4ddf0ae9c6ac644066cfae6371b6d9561f7c4053ca9be5b6260cb
|
|
| MD5 |
1a05027b8a56bd4b45fe50c26b1ee992
|
|
| BLAKE2b-256 |
ae30e9bd94720c385bfef6b608a8473dfa54fe7ea4950dca4758d58dcd6845da
|
Provenance
The following attestation bundles were made for goldfish_backend-0.1.5.tar.gz:
Publisher:
publish-goldfish-backend.yml on linxichen/goldfish
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
goldfish_backend-0.1.5.tar.gz -
Subject digest:
e554e30c09d4ddf0ae9c6ac644066cfae6371b6d9561f7c4053ca9be5b6260cb - Sigstore transparency entry: 271897856
- Sigstore integration time:
-
Permalink:
linxichen/goldfish@b718b210dffe0523e687afe784e3dc3e99495342 -
Branch / Tag:
refs/tags/goldfish-backend-v0.1.5 - Owner: https://github.com/linxichen
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-goldfish-backend.yml@b718b210dffe0523e687afe784e3dc3e99495342 -
Trigger Event:
push
-
Statement type:
File details
Details for the file goldfish_backend-0.1.5-py3-none-any.whl.
File metadata
- Download URL: goldfish_backend-0.1.5-py3-none-any.whl
- Upload date:
- Size: 21.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d1f961c290d575576b64ec5bb382edbc065e0d42945b991c7e16637a21711579
|
|
| MD5 |
4a5c97142612a481e0e6956ec53e743c
|
|
| BLAKE2b-256 |
4bc26e0aae48043a2d90f7915c1d94b4b19a9a1ac013d3b59cfe3a7d6ce36c08
|
Provenance
The following attestation bundles were made for goldfish_backend-0.1.5-py3-none-any.whl:
Publisher:
publish-goldfish-backend.yml on linxichen/goldfish
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
goldfish_backend-0.1.5-py3-none-any.whl -
Subject digest:
d1f961c290d575576b64ec5bb382edbc065e0d42945b991c7e16637a21711579 - Sigstore transparency entry: 271897859
- Sigstore integration time:
-
Permalink:
linxichen/goldfish@b718b210dffe0523e687afe784e3dc3e99495342 -
Branch / Tag:
refs/tags/goldfish-backend-v0.1.5 - Owner: https://github.com/linxichen
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-goldfish-backend.yml@b718b210dffe0523e687afe784e3dc3e99495342 -
Trigger Event:
push
-
Statement type: