tumblrbot 1.4.7__tar.gz → 1.6.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,7 +1,9 @@
1
1
  # Custom
2
2
  data
3
- *.toml
4
- *.jsonl
3
+ *.lnk
4
+ config.toml
5
+ custom_prompts.jsonl
6
+ examples.jsonl
5
7
 
6
8
  # Byte-compiled / optimized / DLL files
7
9
  __pycache__/
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tumblrbot
3
- Version: 1.4.7
3
+ Version: 1.6.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
@@ -13,6 +13,7 @@ Requires-Dist: requests-oauthlib
13
13
  Requires-Dist: rich
14
14
  Requires-Dist: tiktoken
15
15
  Requires-Dist: tomlkit
16
+ Project-URL: Funding, https://ko-fi.com/maidscientistizutsumimarin
16
17
  Project-URL: Source, https://github.com/MaidScientistIzutsumiMarin/tumblrbot
17
18
 
18
19
  # tumblrbot
@@ -30,8 +31,8 @@ Project-URL: Source, https://github.com/MaidScientistIzutsumiMarin/tumblrbot
30
31
  [OpenAI]: https://pypi.org/project/openai
31
32
  [OpenAI Pricing]: https://platform.openai.com/docs/pricing#fine-tuning
32
33
  [OpenAI Tokens]: https://platform.openai.com/settings/organization/api-keys
34
+ [OpenAI Moderation API]: https://platform.openai.com/docs/guides/moderation
33
35
  [Fine-Tuning Portal]: https://platform.openai.com/finetune
34
- [Moderation API]: https://platform.openai.com/docs/api-reference/moderations
35
36
 
36
37
  [Tumblr]: https://tumblr.com
37
38
  [Tumblr Tokens]: https://tumblr.com/oauth/apps
@@ -62,9 +63,8 @@ Features:
62
63
  - Shows progress and previews the current post.
63
64
  1. [Creates examples][Examples] to fine-tune the model from your posts.
64
65
  - Filters out posts that contain more than just text data.
65
- - Filters out any posts flagged by the [OpenAI] [Moderation API] (optional).
66
- - Shows progress and previews the current post.
67
66
  - Adds custom user messages and assistant responses to the dataset from the [configured][config] file.
67
+ 1. Filters out any posts flagged by the [OpenAI Moderation API].
68
68
  1. [Uploads examples][Fine-Tune] to [OpenAI] and begins the fine-tuning process.
69
69
  - Provides cost estimates if the currently saved examples are used to fine-tune the [configured][config] model.
70
70
  - Resumes monitoring the same fine-tuning process when restarted.
@@ -73,13 +73,14 @@ Features:
73
73
  1. [Generates and uploads posts][Generate] to the [configured][config] [Tumblr] blog using the [configured][config] fine-tuned model.
74
74
  - Creates tags by extracting keywords at the [configured][config] frequency using the [configured][config] model.
75
75
  - Uploads posts as drafts to the [configured][config] [Tumblr] blog.
76
+ - Reblog posts at the [configured][config] frequency.
76
77
  - Shows progress and previews the current post.
77
78
  - Colorful output, progress bars, and post previews using [rich].
78
79
  - Automatically keeps the [config] file up-to-date and recreates it if missing.
79
80
 
80
81
  **To-Do:**
81
82
 
82
- - Add code documentation.
83
+ - ...
83
84
 
84
85
  **Known Issues:**
85
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
@@ -45,9 +45,8 @@ Features:
45
45
  - Shows progress and previews the current post.
46
46
  1. [Creates examples][Examples] to fine-tune the model from your posts.
47
47
  - Filters out posts that contain more than just text data.
48
- - Filters out any posts flagged by the [OpenAI] [Moderation API] (optional).
49
- - Shows progress and previews the current post.
50
48
  - Adds custom user messages and assistant responses to the dataset from the [configured][config] file.
49
+ 1. Filters out any posts flagged by the [OpenAI Moderation API].
51
50
  1. [Uploads examples][Fine-Tune] to [OpenAI] and begins the fine-tuning process.
52
51
  - Provides cost estimates if the currently saved examples are used to fine-tune the [configured][config] model.
53
52
  - Resumes monitoring the same fine-tuning process when restarted.
@@ -56,13 +55,14 @@ Features:
56
55
  1. [Generates and uploads posts][Generate] to the [configured][config] [Tumblr] blog using the [configured][config] fine-tuned model.
57
56
  - Creates tags by extracting keywords at the [configured][config] frequency using the [configured][config] model.
58
57
  - Uploads posts as drafts to the [configured][config] [Tumblr] blog.
58
+ - Reblog posts at the [configured][config] frequency.
59
59
  - Shows progress and previews the current post.
60
60
  - Colorful output, progress bars, and post previews using [rich].
61
61
  - Automatically keeps the [config] file up-to-date and recreates it if missing.
62
62
 
63
63
  **To-Do:**
64
64
 
65
- - Add code documentation.
65
+ - ...
66
66
 
67
67
  **Known Issues:**
68
68
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "tumblrbot"
3
- version = "1.4.7"
3
+ version = "1.6.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"
@@ -17,6 +17,7 @@ dependencies = [
17
17
  ]
18
18
 
19
19
  [project.urls]
20
+ Funding = "https://ko-fi.com/maidscientistizutsumimarin"
20
21
  Source = "https://github.com/MaidScientistIzutsumiMarin/tumblrbot"
21
22
 
22
23
  [project.scripts]