tumblrbot 1.4.6__tar.gz → 1.5.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,15 @@
1
+ # These are supported funding model platforms
2
+
3
+ github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4
+ patreon: # Replace with a single Patreon username
5
+ open_collective: # Replace with a single Open Collective username
6
+ ko_fi: maidscientistizutsumimarin
7
+ tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8
+ community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9
+ liberapay: # Replace with a single Liberapay username
10
+ issuehunt: # Replace with a single IssueHunt username
11
+ lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12
+ polar: # Replace with a single Polar username
13
+ buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
14
+ thanks_dev: # Replace with a single thanks.dev username
15
+ custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
@@ -1,8 +1,9 @@
1
1
  # Custom
2
- .vscode
3
2
  data
4
- *.toml
5
- *.jsonl
3
+ *.lnk
4
+ config.toml
5
+ custom_prompts.jsonl
6
+ examples.jsonl
6
7
 
7
8
  # Byte-compiled / optimized / DLL files
8
9
  __pycache__/
@@ -192,7 +193,7 @@ cython_debug/
192
193
  # that can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore
193
194
  # and can be added to the global gitignore or merged into this file. However, if you prefer,
194
195
  # you could uncomment the following to ignore the entire vscode folder
195
- # .vscode/
196
+ .vscode/
196
197
 
197
198
  # Ruff stuff:
198
199
  .ruff_cache/
@@ -200,13 +201,6 @@ cython_debug/
200
201
  # PyPI configuration file
201
202
  .pypirc
202
203
 
203
- # Cursor
204
- # Cursor is an AI-powered code editor. `.cursorignore` specifies files/directories to
205
- # exclude from AI features like autocomplete and code analysis. Recommended for sensitive data
206
- # refer to https://docs.cursor.com/context/ignore-files
207
- .cursorignore
208
- .cursorindexingignore
209
-
210
204
  # Marimo
211
205
  marimo/_static/
212
206
  marimo/_lsp/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tumblrbot
3
- Version: 1.4.6
3
+ Version: 1.5.0
4
4
  Summary: An updated bot that posts to Tumblr, based on your very own blog!
5
5
  Requires-Python: >= 3.13
6
6
  Description-Content-Type: text/markdown
@@ -8,13 +8,13 @@ Requires-Dist: keyring
8
8
  Requires-Dist: openai
9
9
  Requires-Dist: pwinput
10
10
  Requires-Dist: pydantic
11
- Requires-Dist: pydantic-settings
12
11
  Requires-Dist: requests
13
12
  Requires-Dist: requests-oauthlib
14
13
  Requires-Dist: rich
15
14
  Requires-Dist: tiktoken
16
15
  Requires-Dist: tomlkit
17
- Project-URL: Source, https://github.com/MaidThatPrograms/tumblrbot
16
+ Project-URL: Funding, https://ko-fi.com/maidscientistizutsumimarin
17
+ Project-URL: Source, https://github.com/MaidScientistIzutsumiMarin/tumblrbot
18
18
 
19
19
  # tumblrbot
20
20
 
@@ -31,8 +31,8 @@ Project-URL: Source, https://github.com/MaidThatPrograms/tumblrbot
31
31
  [OpenAI]: https://pypi.org/project/openai
32
32
  [OpenAI Pricing]: https://platform.openai.com/docs/pricing#fine-tuning
33
33
  [OpenAI Tokens]: https://platform.openai.com/settings/organization/api-keys
34
+ [OpenAI Moderation API]: https://platform.openai.com/docs/guides/moderation
34
35
  [Fine-Tuning Portal]: https://platform.openai.com/finetune
35
- [Moderation API]: https://platform.openai.com/docs/api-reference/moderations
36
36
 
37
37
  [Tumblr]: https://tumblr.com
38
38
  [Tumblr Tokens]: https://tumblr.com/oauth/apps
@@ -57,18 +57,16 @@ Features:
57
57
  - An [interactive console][Main] for all steps of generating posts for the blog:
58
58
  1. Asks for [OpenAI] and [Tumblr] tokens.
59
59
  - Stores API tokens using [keyring].
60
- - Prevents API tokens from printing to the console.
61
60
  1. Retrieves [Tumblr] [OAuth] tokens.
62
61
  1. [Downloads posts][Download] from the [configured][config] [Tumblr] blogs.
63
62
  - Skips redownloading already downloaded posts.
64
63
  - Shows progress and previews the current post.
65
64
  1. [Creates examples][Examples] to fine-tune the model from your posts.
66
65
  - Filters out posts that contain more than just text data.
67
- - Filters out any posts flagged by the [OpenAI] [Moderation API] (optional).
68
- - Shows progress and previews the current post.
69
66
  - Adds custom user messages and assistant responses to the dataset from the [configured][config] file.
70
- 1. Provides cost estimates if the currently saved examples are used to fine-tune the [configured][config] model.
67
+ 1. Filters out any posts flagged by the [OpenAI Moderation API].
71
68
  1. [Uploads examples][Fine-Tune] to [OpenAI] and begins the fine-tuning process.
69
+ - Provides cost estimates if the currently saved examples are used to fine-tune the [configured][config] model.
72
70
  - Resumes monitoring the same fine-tuning process when restarted.
73
71
  - Deletes the uploaded examples file if fine-tuning does not succeed (optional).
74
72
  - Stores the output model automatically when fine-tuning is completed.
@@ -82,6 +80,7 @@ Features:
82
80
  **To-Do:**
83
81
 
84
82
  - Add code documentation.
83
+ - Add reblog generation logic.
85
84
 
86
85
  **Known Issues:**
87
86
 
@@ -13,8 +13,8 @@
13
13
  [OpenAI]: https://pypi.org/project/openai
14
14
  [OpenAI Pricing]: https://platform.openai.com/docs/pricing#fine-tuning
15
15
  [OpenAI Tokens]: https://platform.openai.com/settings/organization/api-keys
16
+ [OpenAI Moderation API]: https://platform.openai.com/docs/guides/moderation
16
17
  [Fine-Tuning Portal]: https://platform.openai.com/finetune
17
- [Moderation API]: https://platform.openai.com/docs/api-reference/moderations
18
18
 
19
19
  [Tumblr]: https://tumblr.com
20
20
  [Tumblr Tokens]: https://tumblr.com/oauth/apps
@@ -39,18 +39,16 @@ Features:
39
39
  - An [interactive console][Main] for all steps of generating posts for the blog:
40
40
  1. Asks for [OpenAI] and [Tumblr] tokens.
41
41
  - Stores API tokens using [keyring].
42
- - Prevents API tokens from printing to the console.
43
42
  1. Retrieves [Tumblr] [OAuth] tokens.
44
43
  1. [Downloads posts][Download] from the [configured][config] [Tumblr] blogs.
45
44
  - Skips redownloading already downloaded posts.
46
45
  - Shows progress and previews the current post.
47
46
  1. [Creates examples][Examples] to fine-tune the model from your posts.
48
47
  - Filters out posts that contain more than just text data.
49
- - Filters out any posts flagged by the [OpenAI] [Moderation API] (optional).
50
- - Shows progress and previews the current post.
51
48
  - Adds custom user messages and assistant responses to the dataset from the [configured][config] file.
52
- 1. Provides cost estimates if the currently saved examples are used to fine-tune the [configured][config] model.
49
+ 1. Filters out any posts flagged by the [OpenAI Moderation API].
53
50
  1. [Uploads examples][Fine-Tune] to [OpenAI] and begins the fine-tuning process.
51
+ - Provides cost estimates if the currently saved examples are used to fine-tune the [configured][config] model.
54
52
  - Resumes monitoring the same fine-tuning process when restarted.
55
53
  - Deletes the uploaded examples file if fine-tuning does not succeed (optional).
56
54
  - Stores the output model automatically when fine-tuning is completed.
@@ -64,6 +62,7 @@ Features:
64
62
  **To-Do:**
65
63
 
66
64
  - Add code documentation.
65
+ - Add reblog generation logic.
67
66
 
68
67
  **Known Issues:**
69
68
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "tumblrbot"
3
- version = "1.4.6"
3
+ version = "1.5.0"
4
4
  description = "An updated bot that posts to Tumblr, based on your very own blog!"
5
5
  readme = "README.md"
6
6
  requires-python = ">= 3.13"
@@ -9,7 +9,6 @@ dependencies = [
9
9
  "openai",
10
10
  "pwinput",
11
11
  "pydantic",
12
- "pydantic-settings",
13
12
  "requests",
14
13
  "requests-oauthlib",
15
14
  "rich",
@@ -18,7 +17,8 @@ dependencies = [
18
17
  ]
19
18
 
20
19
  [project.urls]
21
- Source = "https://github.com/MaidThatPrograms/tumblrbot"
20
+ Funding = "https://ko-fi.com/maidscientistizutsumimarin"
21
+ Source = "https://github.com/MaidScientistIzutsumiMarin/tumblrbot"
22
22
 
23
23
  [project.scripts]
24
24
  tumblrbot = "tumblrbot.__main__:main"