Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

#PUSH

poetry version patch; poetry build; poetry publish

Chatty Analytics

Models and custom classes to work across the Chattyverse.

Lastest update: 2024-11-07

Development instrucions

  1. Install poetry https://python-poetry.org/docs/
  2. Run poetry install
  3. Install with pymongo: poetry install -E db to include pymongo dependencies

Architecture

Models

  • Data containers with Pydantic validation
  • No business logic
  • Little to no functionality (for that, see Services)
  • Used for:
    • Request/response validation
    • Database document mapping
    • Cross-service data transfer
  • Example:
    • Message model

Services

  • Contain all business logic
  • Work with models
  • Stateless
  • Handle:
    • Object creation (factories)
    • Model specific functionality
  • Example:
    • MessageFactory
      • Create a Message from webhook data
      • Create a Message from an agent request to send it to a chat
      • Instantiate a Message from data base information
      • Create a Message from a Chatty Response

Implementation Status

✅ Implemented

Models

  • Base message models
    • DBMessage: Database message model
    • MessageRequest: It models the intent of a message to be sent to a chat, still not instantiated as ChattyMessage.
    • BaseMessage (abstract)
      • Subtypes: AudioMessage, DocumentMessage, ImageMessage, TextMessage, VideoMessage, etc.
  • MetaNotificationJson: Models any notification from WhatsApp to the webhook
    • MetaMessageJson: Models the speicifc Notification with a messages object
    • MetaStatusJson: Models the specific Notification with a statuses object
    • MetaErrorJson: Models the specific Notification with an errors object
  • ChattyResponse: Models a list of pre-set responses in Chatty, that will be instantiated as a ChattyMessage when sent to a chat.
  • Auth0 company registrarion form model
  • Event models
  • Metrics models

Services

  • MessageFactory
    • Create a Message from webhook data
    • Create a Message from an agent request to send it to a chat
    • Instantiate a Message from data base information
    • Create a Message from a Chatty Response

🚧 In Progress

  • Chat and its modules and services
  • Service layer completion
  • Company Assets

Chatty Analytics is a proprietary tool developed by Axel Gualda and the Chatty Team. This software is for internal use only and is not licensed for distribution or use outside of authorized contexts.

Copyright (c) 2024 Axel Gualda. All Rights Reserved.

Metadata

Release files for letschatty 0.6.111a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for letschatty 0.6.111a2
File Size Uploaded Provenance Actions
letschatty-0.6.111a2.tar.gz 571.0 kB Without provenance Details for letschatty-0.6.111a2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for letschatty 0.6.111a2
File Interpreter ABI Platform Actions
letschatty-0.6.111a2-py3-none-any.whl Python 3 none any Details for letschatty-0.6.111a2-py3-none-any.whl

Total release size: 1.5 MB

Release files / letschatty-0.6.111a2.tar.gz

Download URL letschatty-0.6.111a2.tar.gz
Size 571.0 kB
Tags Source
SHA-256 checksum
How to use checksums
5a25bfc9699eecd19a77062e8bef2596e0384cf35f1ad44a30eee72edd5bb211
BLAKE2b-256 checksum
How to use checksums
d02b26671ab20fdd8cd4dbc4c2125e26f836fb2cd70613f7d26f75267d05a63e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.2 Darwin/23.5.0

Release files / letschatty-0.6.111a2-py3-none-any.whl

Download URL letschatty-0.6.111a2-py3-none-any.whl
Size 885.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c76166d9c23b3d78b656c53747499f4a5bb995a146d0ae132a79302efb7a8a1e
BLAKE2b-256 checksum
How to use checksums
a150ea6b0a4d96410395d82f355b0f585967a5084158fe6822288f4904db264b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.1.1 CPython/3.13.2 Darwin/23.5.0

Security for letschatty 0.6.111a2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page