Skip to content

Commit

Permalink
feat: improve library import.
Browse files Browse the repository at this point in the history
  • Loading branch information
drudilorenzo committed Apr 27, 2024
1 parent 0bfbad1 commit f2139b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
4 changes: 4 additions & 0 deletions openai_cost_logger/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
from .openai_cost_logger import OpenAICostLogger
from .constants import MODELS_COST, DEFAULT_LOG_PATH
from .openai_cost_logger_viz import OpenAICostLoggerViz
from .openai_cost_logger_utils import OpenAICostLoggerUtils
print('imported openai_cost_logger')
9 changes: 2 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
from setuptools import setup, find_packages
import os

# Read the README file (reStructuredText format)
with open('README.rst') as f:
long_description = f.read()

# Get the version number from the environment
# version_number = os.getenv('VERSION_NUMBER')
# version_number = version_number.strip("v")

version_number = '0.2.1'
version_number = '0.3.0'

setup(
name='openai-cost-logger',
Expand All @@ -20,7 +15,7 @@
url='https://github.com/drudilorenzo/openai-cost-tracker',
long_description=long_description,
long_description_content_type='text/x-rst',
keywords=['openai', 'cost', 'logger', 'tracker'],
keywords=['openai', 'cost', 'logger', 'tracker', 'viz', 'llms'],
license='MIT',
packages=find_packages(include=['openai_cost_logger', 'openai_cost_logger.*']),
requires=['openai', 'pandas', 'matplotlib'],
Expand Down

0 comments on commit f2139b0

Please sign in to comment.