Skip to main content

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 models
  • services/: Business logic services
  • core/: 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

goldfish_backend-0.1.5.tar.gz (25.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

goldfish_backend-0.1.5-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

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

Hashes for goldfish_backend-0.1.5.tar.gz
Algorithm Hash digest
SHA256 e554e30c09d4ddf0ae9c6ac644066cfae6371b6d9561f7c4053ca9be5b6260cb
MD5 1a05027b8a56bd4b45fe50c26b1ee992
BLAKE2b-256 ae30e9bd94720c385bfef6b608a8473dfa54fe7ea4950dca4758d58dcd6845da

See more details on using hashes here.

Provenance

The following attestation bundles were made for goldfish_backend-0.1.5.tar.gz:

Publisher: publish-goldfish-backend.yml on linxichen/goldfish

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file goldfish_backend-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for goldfish_backend-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d1f961c290d575576b64ec5bb382edbc065e0d42945b991c7e16637a21711579
MD5 4a5c97142612a481e0e6956ec53e743c
BLAKE2b-256 4bc26e0aae48043a2d90f7915c1d94b4b19a9a1ac013d3b59cfe3a7d6ce36c08

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page