Skip to main content

Public snapshot of the totodev utility library.

Project description

totodev_pub

totodev_pub is a Python utility library being prepared for public release under the MIT license.

The project is intended to become the public home for a broad snapshot of the internal totodev_pub library, with identifying/internal material removed and examples rewritten to use safe synthetic data where needed.

Organization

This project is maintained by TomorrowToday LLC.

Direction

  • Public Python package name: totodev_pub
  • License: MIT
  • Migration from the private library should be explicit and should include regression testing
  • Examples and integration helpers are being retained where they can be made safe for publication

minor utilities

Less central or legacy-adjacent pieces of the library are grouped under the totodev_pub.minor package (sources in src/totodev_pub/minor/). That subdirectory is the home for utilities we still ship but do not treat as primary API surface—examples include the sweep tool, flexible CLI args (FlexArgs), and the date-tree folder helpers used by the Luigi pipes stack. Prefer imports from totodev_pub.minor.<module> for those modules rather than expecting them at the top level of totodev_pub.

Current Working Area

The source review snapshot currently lives under volatile/repo/totodev_pub, and planning/review notes live under volatile/tmp/.

Status

This repository is in the middle of public-release preparation work, including:

  • concern inventory and review tracking
  • depersonalization of docs, examples, and fixtures
  • README and contributor-documentation rewrites
  • preparation for a clean public package layout around totodev_pub

Install Strategy

The package now uses a progressive dependency model:

  • pip install totodev-pub installs only the lightweight core
  • feature-specific dependencies are installed through extras
  • optional features should raise actionable install guidance when extras are missing

Core Promise

Base install guarantees:

  • import totodev_pub works without cloud/LLM/graph ecosystems
  • core file/config/event-log utilities work with only base dependencies
  • optional stacks (LLM, LucidSpark, cloud connectors, etc.) are opt-in

Feature Extras

  • pipes: Luigi-backed pipe execution helpers
  • lucidspark: LucidSpark graph/tree tooling
  • connectors: Google/MS365/HTTP/SSH connector integrations
  • llm: LangChain/OpenAI/Gemini-oriented LLM integration utilities
  • git: Git-backed utilities
  • sweep: repository sweep/pathspec tooling
  • all: all runtime extras
  • dev: development/test/lint dependencies

Install Examples

# Core only
pip install totodev-pub

# Single feature area
pip install "totodev-pub[lucidspark]"

# Common integration profile
pip install "totodev-pub[connectors,llm]"

# Everything runtime-related
pip install "totodev-pub[all]"

Quick Import Example

Use the package name totodev-pub for installation, but totodev_pub for Python imports:

from totodev_pub.forgetful_reader import ForgetfulReader


def load_user(user_id: int) -> str:
    # Placeholder for a high-cost call (API/database/etc.)
    return f"profile:{user_id}"


cache = ForgetfulReader(
    value_retriever=lambda key: load_user(key[0]),
    expiration_seconds=30,
)

print(cache.get((42,)))  # first call retrieves and caches
print(cache.get((42,)))  # second call uses cache until expiry

Module-to-Extra Guidance

  • totodev_pub.lucidspark.* -> lucidspark
  • totodev_pub.llm.* -> llm
  • totodev_pub.cached_file_folders_support.file_proxy_gmail -> connectors
  • totodev_pub.cached_file_folders_support.file_proxy_outlook_email -> connectors
  • totodev_pub.cached_file_folders_support.file_proxy_sharepoint -> connectors
  • totodev_pub.cli.conn_tester_support.test_plugins.conntest_ssh -> connectors
  • totodev_pub.pipes.* (Luigi paths) -> pipes

Detailed rationale and governance policy are documented in docs/dependency-strategy.md.

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

totodev_pub-0.1.1.tar.gz (832.7 kB view details)

Uploaded Source

Built Distribution

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

totodev_pub-0.1.1-py3-none-any.whl (750.1 kB view details)

Uploaded Python 3

File details

Details for the file totodev_pub-0.1.1.tar.gz.

File metadata

  • Download URL: totodev_pub-0.1.1.tar.gz
  • Upload date:
  • Size: 832.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for totodev_pub-0.1.1.tar.gz
Algorithm Hash digest
SHA256 10309c1d4f408e32aa71ed719e9f444c040d426e0ec0f91dd4f20c6cfdf99f0c
MD5 7a4df8add84c38b136aa8c86d59d4051
BLAKE2b-256 d921064e716c649ffc75766f37b45896cebef06b402e03df2dc5629ddcdcd1f2

See more details on using hashes here.

File details

Details for the file totodev_pub-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for totodev_pub-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fbe85be10b234278f96b844e6796c99ff691acf903482eea3aa302648ebb3efe
MD5 7ddeb08c99f5336c875e0cb3184aade3
BLAKE2b-256 a954d5ce05494a80a1a95863593b02789966055f6aeb06c37dd5df84cf89bed0

See more details on using hashes here.

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