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.0.tar.gz (759.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.0-py3-none-any.whl (691.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: totodev_pub-0.1.0.tar.gz
  • Upload date:
  • Size: 759.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for totodev_pub-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a54866334bc26450e928e96c2943f70a626b166d4d073167dcf03026365a952c
MD5 0720814e5440f3e1acd75007d6d9dd4a
BLAKE2b-256 d75f7eaa838473021e6be7a2e1b4016a068718f39407902deddb2ec97da3f753

See more details on using hashes here.

File details

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

File metadata

  • Download URL: totodev_pub-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 691.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.17 {"installer":{"name":"uv","version":"0.9.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for totodev_pub-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd82f2e5933395f3b94fd36b578062debb5b8682cf74410cd4a9ddf863c734a4
MD5 ff49b47e7523eee90c285ff9dc3693df
BLAKE2b-256 e2443494edd30522faa1e9f25a6d2f27d7864c8969ab56633fbdf4fe220064b6

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