Skip to main content

A small package used for creating conversation logs.

Project description

Convolog

A small package used for creating conversation logs

Started conversation at 2024-07-10 18:38:33 2024-07-10 18:38:33 [Alice]: Hello, how are you? 2024-07-10 18:38:33 [Bob]: I'm doing well, thank you!

Basic Usage

Installation

pip install convolog

Template Code

from convolog import Conversation
import  time
if __name__ == '__main__':
    convo = Conversation("session1")
    convo.add_log("Alice", "Hello, how are you?")
    convo.add_log("Bob", "I'm doing well, thank you!")
    time.sleep(5)
    convo.delete_conversation()

I dont want to create a documentation for this so here's the entire documentation:

Conversation Class

Function Description
Conversation(identifier: str, file_path: str = None) Creates a conversation (will automatically create a file)
get_read_file() Returns the file with read permissions
get_write_file() Returns the file with write permissions
add_log(source: str, message: str) Adds a conversation log
delete_conversation() Deletes the conversation file (may be dangerous idk)

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

convolog-0.0.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

convolog-0.0.2-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file convolog-0.0.2.tar.gz.

File metadata

  • Download URL: convolog-0.0.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for convolog-0.0.2.tar.gz
Algorithm Hash digest
SHA256 6b074a25e1e45d1336a7baee73b47dfcb9c13e24371b297b0cc15cc5f4230fcf
MD5 1af5221e16a3483b6015b27214e26b23
BLAKE2b-256 5b5a8e21e91628410472b6efba26ce8a8d16f45bfee3fb5c843afa5e90f4b478

See more details on using hashes here.

File details

Details for the file convolog-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: convolog-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.4

File hashes

Hashes for convolog-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 34f53af0da2f36ffb3e3d9e0d1bb9bc8ed0dc08d9af50fede8bc6541200941b9
MD5 94f529e10fef20248bdeb9ee5a6f907e
BLAKE2b-256 fe2ea65d887889fc2ca3a3a7176324bf45af0c2735c5cdb3135bfb05b5f3864c

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