Skip to content

Commit 27dd97a

Browse files
committed
chore: migrate to pyproject.toml and update demo URLs
1 parent 42b9942 commit 27dd97a

File tree

4 files changed

+26
-30
lines changed

4 files changed

+26
-30
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
`tokdu` (Token Disk Usage) is a terminal-based utility that helps you analyze and visualize token usage in your codebase. Similar to the classic `du` (disk usage) command, tokdu shows you how many tokens your files and directories consume, which is essential when working with Large Language Models (LLMs) that have token limits.
44

5-
[![tokdu demonstration](assets/tokdu-demo.gif)](assets/tokdu-demo.mp4)
5+
[![tokdu demonstration](https://github.com/unitythemaker/tokdu/blob/main/assets/tokdu-demo.gif?raw=true)](https://github.com/unitythemaker/tokdu/blob/main/assets/tokdu-demo.mp4)
66

77
## Features
88

pyproject.toml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[build-system]
2+
requires = ["setuptools>=42", "wheel"]
3+
build-backend = "setuptools.build_meta"
4+
5+
[project]
6+
name = "tokdu"
7+
version = "0.1.1"
8+
description = "A token counting TUI tool that respects .gitignore and skips binary files"
9+
readme = "README.md"
10+
authors = [
11+
{ name = "Halil Tezcan KARABULUT", email = "unitythemaker@gmail.com" },
12+
]
13+
license = { text = "MIT" }
14+
requires-python = ">=3.6"
15+
classifiers = [
16+
"Programming Language :: Python :: 3",
17+
"Operating System :: OS Independent",
18+
]
19+
dependencies = ["tiktoken==0.9.0", "pathspec==0.12.1"]
20+
21+
[project.urls]
22+
Homepage = "https://github.com/unitythemaker/tokdu"
23+
24+
[project.scripts]
25+
tokdu = "tokdu:main"

requirements.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

setup.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)