Skip to content

Commit 3094c04

Browse files
authored
Merge pull request #3051 from RobertFlatt/develop
Add tiktoken recipe
2 parents d7f0a1d + 18b1bd6 commit 3094c04

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
from pythonforandroid.recipe import RustCompiledComponentsRecipe
2+
3+
4+
class TiktokenRecipe(RustCompiledComponentsRecipe):
5+
name = 'tiktoken'
6+
version = '0.7.0'
7+
url = 'https://github.com/openai/tiktoken/archive/refs/tags/{version}.tar.gz'
8+
depends = ['regex', 'requests']
9+
10+
11+
recipe = TiktokenRecipe()

0 commit comments

Comments
 (0)