tumblrbot 1.9.6__py3-none-any.whl → 1.10.0__py3-none-any.whl

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.
@@ -1,9 +1,12 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tumblrbot
3
- Version: 1.9.6
3
+ Version: 1.10.0
4
4
  Summary: An updated bot that posts to Tumblr, based on your very own blog!
5
- Requires-Python: >= 3.14
5
+ Project-URL: Funding, https://ko-fi.com/maidscientistizutsumimarin
6
+ Project-URL: Source, https://github.com/MaidScientistIzutsumiMarin/tumblrbot
7
+ Requires-Python: >=3.14
6
8
  Description-Content-Type: text/markdown
9
+ Requires-Dist: CurrencyConverter
7
10
  Requires-Dist: openai
8
11
  Requires-Dist: pydantic
9
12
  Requires-Dist: requests
@@ -12,12 +15,9 @@ Requires-Dist: rich
12
15
  Requires-Dist: tenacity
13
16
  Requires-Dist: tiktoken
14
17
  Requires-Dist: tomlkit
15
- Project-URL: Funding, https://ko-fi.com/maidscientistizutsumimarin
16
- Project-URL: Source, https://github.com/MaidScientistIzutsumiMarin/tumblrbot
17
18
 
18
19
  # tumblrbot
19
20
 
20
- [tumblrbot.exe]: https://github.com/MaidScientistIzutsumiMarin/tumblrbot/releases/latest/download/tumblrbot.exe
21
21
 
22
22
  [OAuth]: https://oauth.net/1
23
23
  [Python]: https://python.org/download
@@ -28,17 +28,16 @@ Project-URL: Source, https://github.com/MaidScientistIzutsumiMarin/tumblrbot
28
28
  [pip]: https://pypi.org
29
29
  [Rich]: https://pypi.org/project/rich
30
30
 
31
- [OpenAI]: https://pypi.org/project/openai
31
+ [OpenAI]: https://openai.com
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
34
  [OpenAI Moderation API]: https://platform.openai.com/docs/guides/moderation
35
- [Flags]: https://platform.openai.com/docs/guides/moderation/over#content-classifications
35
+ [Flags]: https://platform.openai.com/docs/guides/moderation#content-classifications
36
36
  [Fine-Tuning Portal]: https://platform.openai.com/finetune
37
37
 
38
38
  [Tumblr]: https://tumblr.com
39
39
  [Tumblr Tokens]: https://tumblr.com/oauth/apps
40
40
  [Tumblr API Documentation on Blog Identifiers]: https://tumblr.com/docs/en/api/v2#blog-identifiers
41
- [Tumblr API Documentation on Rate Limits]: https://tumblr.com/docs/en/api/v2#rate-limits
42
41
 
43
42
  [Format String]: https://docs.python.org/3/library/string.html#format-string-syntax
44
43
 
@@ -92,31 +91,15 @@ Features:
92
91
  - You can use regular expressions to filter out training data in the [config][configurable]. This is more of a brute-force solution, but it can work if the other solutions do not.
93
92
  - You can try limiting your dataset by specifying fewer blogs to download from or limiting the number of posts taken from each one in the [config][configurable].
94
93
  - If all else fails, you can manually remove data from the examples file until it passes. It is unfortunately not a definitive resource, but it can help to read about what the [OpenAI moderation API flags][Flags].
95
- - Sometimes, you will get an error about the training file not being found when starting fine-tuning. We do not currently have a fix or workaround for this. You should instead use the online portal for fine-tuning if this continues to happen. Read more in [fine-tuning].
96
- - Post counts are incorrect when downloading posts. We are not certain what the cause of this is, but our tests suggest this is a [Tumblr] API problem that is giving inaccurate numbers.
97
- - During post downloading or post generation, you may receive a “Limit Exceeded” error message from the [Tumblr] API. This is caused by server-side rate-limiting by [Tumblr]. The only workaround is trying again or waiting for a period of time before retrying. In most cases, you either have to wait for a minute or an hour for the limits to reset. You can read more about the limits in the [Tumblr API documentation on rate limits].
98
- - Similar to the above issue, you may sometimes get a message saying your IP is blocked. This block is temporary and probably follows the same rules as previously described.
99
-
100
- **Please submit an issue or contact us for features you want added/reimplemented.**
94
+ - Post counts can be incorrect when downloading posts. Our tests suggest this is a [Tumblr] API problem that is giving inaccurate numbers, so treat them as estimates.
101
95
 
102
- ## Installation & Usage
103
-
104
- ### Downloadable Binary
105
-
106
- | Pros | Cons |
107
- | --- | --- |
108
- | Easier to install | Harder to update |
109
- | No risk of dependencies breaking | Dependencies may be older |
96
+ **To-Do:**
110
97
 
111
- 1. Download the latest release's [tumblrbot.exe].
112
- 1. Launch `tumblrbot.exe` in the install location.
98
+ - Add selection menus to make it easier to pick a particular operation.
113
99
 
114
- ### PyPi
100
+ **Please submit an issue or contact us for features you want added/reimplemented.**
115
101
 
116
- | Pros | Cons |
117
- | --- | --- |
118
- | Easier to update | Harder to install |
119
- | Dependencies may be newer | Dependencies may break |
102
+ ## Installation & Usage
120
103
 
121
104
  1. Install the latest version of [Python]:
122
105
  - Windows: `winget install python3`
@@ -207,4 +190,3 @@ You can manually upload the examples file to [OpenAI] and start the fine-tuning
207
190
  1. Press `Create`.
208
191
  1. (Optional) Copy the value next to `Job ID` and paste it into the [config][configurable] under `job_id`. You can then run the program and monitor its progress as usual.
209
192
  1. If you do not do the above, you will have to copy the value next to `Output model` once the job is complete and paste it into the [config][configurable] under `fine_tuned_model`.
210
-
@@ -0,0 +1,16 @@
1
+ tumblrbot/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ tumblrbot/__main__.py,sha256=19p7kIMBfEXFRGOJdMGhriPkoLQ9Pi5fOzqYowr_s-M,1819
3
+ tumblrbot/flow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ tumblrbot/flow/download.py,sha256=SYO235ztgXXnh4BNoy_o3MwEd4k73LIIAI0eTxtQBfI,1997
5
+ tumblrbot/flow/examples.py,sha256=-jqLGGuQOT85g2xt7xb_XbudCZKB-Nuf5nygTpIuH5Y,4308
6
+ tumblrbot/flow/fine_tune.py,sha256=llHvyRnJ35yUQ1GzWrdOdGx8_xKDS4FMUdZkqZYbCUA,5607
7
+ tumblrbot/flow/generate.py,sha256=b-MO5jxISPbJUcXZ1H1YPt_-O5a9RI9LWB24SLcydGo,4256
8
+ tumblrbot/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ tumblrbot/utils/common.py,sha256=o1T-hmMZw7fbzJVMHtCLJ--HxLZ-sRuXSNWjCIwKlbA,1859
10
+ tumblrbot/utils/models.py,sha256=qy5ejzQjI0e7aGgvkqTfRPDHF-Ckf0VykPdlwHW5UPE,10835
11
+ tumblrbot/utils/tumblr.py,sha256=pOtcgq58mC_5oBa9LH_SDJlRTg3_euzQjp1KArDO0O8,2982
12
+ tumblrbot-1.10.0.dist-info/METADATA,sha256=C7lz9l3eCAEbSgCWj0138ww1JXbkFbO45bjxkWXHC4M,13402
13
+ tumblrbot-1.10.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
14
+ tumblrbot-1.10.0.dist-info/entry_points.txt,sha256=1UrMpccLrT88RIDNCSm9uocdRcVgEpHQWYIVnVpJWnI,54
15
+ tumblrbot-1.10.0.dist-info/top_level.txt,sha256=nZBBqnmypfVVkZojtb6afxQqBg8mFD8adlT5ur40r4s,10
16
+ tumblrbot-1.10.0.dist-info/RECORD,,
@@ -1,4 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: flit 3.12.0
2
+ Generator: setuptools (80.10.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ tumblrbot = tumblrbot.__main__:main
@@ -0,0 +1 @@
1
+ tumblrbot
@@ -1,15 +0,0 @@
1
- tumblrbot/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- tumblrbot/__main__.py,sha256=BeBp1XxoQvMw9ytS5zYQKAwK9V1U1FM4fKvxBI26xSM,1809
3
- tumblrbot/flow/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- tumblrbot/flow/download.py,sha256=r_4Bc_SNnIDbilT18YypBjJ4xhrg0AJAfvOezUL-p2c,2052
5
- tumblrbot/flow/examples.py,sha256=30FVJQomjwpUBKeeAJDfdkr8ZcQlykoXZ6uL3tqxgOg,4465
6
- tumblrbot/flow/fine_tune.py,sha256=KaC37_RNsbfAh1_ZdsiAELvRbYkJrrH8QPJPGuZtzOM,5483
7
- tumblrbot/flow/generate.py,sha256=PI6pkiGJEk6t_rBzKFVTNIfdj-iqV9AaKqpKk3SCcHc,4364
8
- tumblrbot/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- tumblrbot/utils/common.py,sha256=PgsiV59TqSHUVbFaRP3yKrNFoJY6Vlo5os7uCIYVTGU,1871
10
- tumblrbot/utils/models.py,sha256=PsJoHfzsxXXK5ZxKXAeFHXG-0MD-T9QIJe4_Atma4oo,11522
11
- tumblrbot/utils/tumblr.py,sha256=ZGiBeak9LmfFqmP5rH63dij05aAsolL2IzrtvXwJnC8,2366
12
- tumblrbot-1.9.6.dist-info/entry_points.txt,sha256=lTiN7PxAbyGY1fpCWApEw6NUIUgobfcOKhvn6cu3IQA,53
13
- tumblrbot-1.9.6.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
14
- tumblrbot-1.9.6.dist-info/METADATA,sha256=4MDLnPxO8UkBiOgA49ggl6SK41nlDnksXdZVmdJL15E,14806
15
- tumblrbot-1.9.6.dist-info/RECORD,,
@@ -1,3 +0,0 @@
1
- [console_scripts]
2
- tumblrbot=tumblrbot.__main__:main
3
-