From 9603be33e88e0b9c775d0d6362510f61b352e1d2 Mon Sep 17 00:00:00 2001 From: farfromavocaido <81063405+farfromavocaido@users.noreply.github.com> Date: Sat, 5 Oct 2024 16:56:26 +0100 Subject: [PATCH] fixed issue in toml preventying pypi upload --- .DS_Store | Bin 6148 -> 6148 bytes README.md | 12 +++++++----- pyproject.toml | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/.DS_Store b/.DS_Store index d5474f7f95fca3eaf57c05443139898afb016333..2336ed52247552be5b6f8ab4eadf0a7cfb03359a 100644 GIT binary patch delta 106 zcmZoMXffEJ#uA%m$H2hA!l1{H&XCDalAG`1l9ZF51Qg@A7JXX&OvEuqRQVLR{1W?g a8FcxA48!2${M-Vd9tH*hgU!t>jlux1X&TG` delta 106 zcmZoMXffEJ#u6JY&cMLH!l1{H&XCDalAG`1l9ZF51Qg?Fax0#4I^viks(cDw`GO3? U;N<+=0-zoS2L1z^n^_u#0hhcRKmY&$ diff --git a/README.md b/README.md index f205b3c..887d17b 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,15 @@ # Danai -Danai is a comprehensive utility package designed to streamline interactions with OpenAI models. It offers a suite of tools for various tasks including token counting, pricing calculations, quick queries, directory summarization, and JSON response management. Whether you're working with text files or strings, Danai simplifies the process of managing and analyzing token usage and costs associated with OpenAI's powerful language models. +Danai is a comprehensive utility package designed to streamline interactions with OpenAI models. It offers a suite of tools for various tasks including token counting, pricing calculations, quick queries, directory summarisation, and JSON response management. -## Features +Danai simplifies the process of moving between different output types – particularly with structured data – and assists with managing and analysing token usage and costs associated with OpenAI's powerful language models. +## Features +T - **Token Counting**: Count the number of tokens in text files or strings using specified OpenAI models. - **Pricing Calculation**: Calculate the cost of tokens generated by OpenAI models based on pricing data, which is routinely updated from OpenAI. -- **Quick Queries**: Quickly generate responses from OpenAI models and print them. -- **Directory Summarization**: Print directory contents and generate directory trees while ignoring certain files and directories. +- **Quick Queries**: Quickly generate responses from OpenAI models and print them to the console or to timestamped files. +- **Directory Summarisation**: Print directory contents to collated markdown files and generate directory trees, while ignoring certain files and directories. - **JSON Response Saving**: Save OpenAI API responses as JSON files with optional pretty-printing and cost calculation. ## Installation @@ -64,7 +66,7 @@ prompt = "Your prompt here" quickprint(prompt, model="gpt-4o-mini") ``` -### Directory Summarization +### Directory Summarisation Print the contents of a directory while ignoring certain files and directories: diff --git a/pyproject.toml b/pyproject.toml index 3007544..c9c9c9a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta" [project] name = "danai" -version = "0.3.9.2" -description = "A utility package for simplifying interactions with OpenAI models."" +version = "0.3.9.3" +description = "A utility package for simplifying interactions with OpenAI models." authors = [{name = "Aidan Coughlan", email = "dev@farfromavocados.com"}] license = {text = "MIT"} readme = "README.md"