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.3.tar.gz (25.4 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.3-py3-none-any.whl (21.0 kB view details)

Uploaded Python 3

File details

Details for the file goldfish_backend-0.1.3.tar.gz.

File metadata

  • Download URL: goldfish_backend-0.1.3.tar.gz
  • Upload date:
  • Size: 25.4 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.3.tar.gz
Algorithm Hash digest
SHA256 8f00638d2bcde199ed9ffa165140cec6647efee3eb247e4b21092c10c148c2b7
MD5 cecccba084db2496ddaf5e329522ea72
BLAKE2b-256 f07892a01a8eae36c67521ae43e1e00b6d105a2c7bc5ab53fccbf99b2efff4ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for goldfish_backend-0.1.3.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.3-py3-none-any.whl.

File metadata

File hashes

Hashes for goldfish_backend-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b65941fd5b55aceeb0cb298d1bf295398afee42190073887db9e57666cabe6d7
MD5 d2aa22cf8345042b29eb5e52d216fdb9
BLAKE2b-256 130adfc75f486004d3562ce24707b15be1cb244f5aba8863a6bd267b755f6ae3

See more details on using hashes here.

Provenance

The following attestation bundles were made for goldfish_backend-0.1.3-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