tumblrbot 1.10.0__tar.gz → 1.10.1__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.
Files changed (21) hide show
  1. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/PKG-INFO +17 -12
  2. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/README.md +16 -11
  3. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/pyproject.toml +1 -1
  4. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot/flow/fine_tune.py +3 -2
  5. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot.egg-info/PKG-INFO +17 -12
  6. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/setup.cfg +0 -0
  7. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot/__init__.py +0 -0
  8. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot/__main__.py +0 -0
  9. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot/flow/__init__.py +0 -0
  10. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot/flow/download.py +0 -0
  11. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot/flow/examples.py +0 -0
  12. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot/flow/generate.py +0 -0
  13. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot/utils/__init__.py +0 -0
  14. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot/utils/common.py +0 -0
  15. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot/utils/models.py +0 -0
  16. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot/utils/tumblr.py +0 -0
  17. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot.egg-info/SOURCES.txt +0 -0
  18. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot.egg-info/dependency_links.txt +0 -0
  19. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot.egg-info/entry_points.txt +0 -0
  20. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot.egg-info/requires.txt +0 -0
  21. {tumblrbot-1.10.0 → tumblrbot-1.10.1}/src/tumblrbot.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tumblrbot
3
- Version: 1.10.0
3
+ Version: 1.10.1
4
4
  Summary: An updated bot that posts to Tumblr, based on your very own blog!
5
5
  Project-URL: Funding, https://ko-fi.com/maidscientistizutsumimarin
6
6
  Project-URL: Source, https://github.com/MaidScientistIzutsumiMarin/tumblrbot
@@ -18,7 +18,6 @@ Requires-Dist: tomlkit
18
18
 
19
19
  # tumblrbot
20
20
 
21
-
22
21
  [OAuth]: https://oauth.net/1
23
22
  [Python]: https://python.org/download
24
23
 
@@ -51,6 +50,19 @@ Requires-Dist: tomlkit
51
50
  [Fine-Tuning]: #manual-fine-tuning
52
51
  [![PyPI - Version](https://img.shields.io/pypi/v/tumblrbot)](https://python.org/pypi/tumblrbot)
53
52
 
53
+ ## Installation & Usage
54
+
55
+ 1. Install the latest version of [Python]:
56
+ - Windows: `winget install python3`
57
+ - Linux (apt): `apt install python-pip`
58
+ - Linux (pacman): `pacman install python-pip`
59
+ 1. Install the [pip] package: `pip install tumblrbot`
60
+ - Alternatively, you can install from this repository: `pip install git+https://github.com/MaidScientistIzutsumiMarin/tumblrbot.git`
61
+ - On Linux, you will have to make a virtual environment or use the flag to install packages system-wide.
62
+ 1. Run `tumblrbot` from anywhere. Run `tumblrbot --help` for command-line options. Every command-line option corresponds to a value from the [config][configurable].
63
+
64
+ ---
65
+
54
66
  Description of original project:
55
67
  > 4tv-tumblrbot was a collaborative project I embarked on with my close friend Dima, who goes by @smoqueen on Tumblr. The aim of this endeavor was straightforward yet silly: to develop a Tumblr bot powered by a machine-learning model. This bot would be specifically trained on the content from a particular Tumblr blog or a selected set of blogs, allowing it to mimic the style, tone, and thematic essence of the original posts.
56
68
 
@@ -96,19 +108,12 @@ Features:
96
108
  **To-Do:**
97
109
 
98
110
  - Add selection menus to make it easier to pick a particular operation.
111
+ - Add retrying to the fine-tuning process (if necessary).
112
+ - Add an option to filter newest posts by a specific date.
99
113
 
100
114
  **Please submit an issue or contact us for features you want added/reimplemented.**
101
115
 
102
- ## Installation & Usage
103
-
104
- 1. Install the latest version of [Python]:
105
- - Windows: `winget install python3`
106
- - Linux (apt): `apt install python-pip`
107
- - Linux (pacman): `pacman install python-pip`
108
- 1. Install the [pip] package: `pip install tumblrbot`
109
- - Alternatively, you can install from this repository: `pip install git+https://github.com/MaidScientistIzutsumiMarin/tumblrbot.git`
110
- - On Linux, you will have to make a virtual environment or use the flag to install packages system-wide.
111
- 1. Run `tumblrbot` from anywhere. Run `tumblrbot --help` for command-line options. Every command-line option corresponds to a value from the [config][configurable].
116
+ ---
112
117
 
113
118
  ## Obtaining Tokens
114
119
 
@@ -1,6 +1,5 @@
1
1
  # tumblrbot
2
2
 
3
-
4
3
  [OAuth]: https://oauth.net/1
5
4
  [Python]: https://python.org/download
6
5
 
@@ -33,6 +32,19 @@
33
32
  [Fine-Tuning]: #manual-fine-tuning
34
33
  [![PyPI - Version](https://img.shields.io/pypi/v/tumblrbot)](https://python.org/pypi/tumblrbot)
35
34
 
35
+ ## Installation & Usage
36
+
37
+ 1. Install the latest version of [Python]:
38
+ - Windows: `winget install python3`
39
+ - Linux (apt): `apt install python-pip`
40
+ - Linux (pacman): `pacman install python-pip`
41
+ 1. Install the [pip] package: `pip install tumblrbot`
42
+ - Alternatively, you can install from this repository: `pip install git+https://github.com/MaidScientistIzutsumiMarin/tumblrbot.git`
43
+ - On Linux, you will have to make a virtual environment or use the flag to install packages system-wide.
44
+ 1. Run `tumblrbot` from anywhere. Run `tumblrbot --help` for command-line options. Every command-line option corresponds to a value from the [config][configurable].
45
+
46
+ ---
47
+
36
48
  Description of original project:
37
49
  > 4tv-tumblrbot was a collaborative project I embarked on with my close friend Dima, who goes by @smoqueen on Tumblr. The aim of this endeavor was straightforward yet silly: to develop a Tumblr bot powered by a machine-learning model. This bot would be specifically trained on the content from a particular Tumblr blog or a selected set of blogs, allowing it to mimic the style, tone, and thematic essence of the original posts.
38
50
 
@@ -78,19 +90,12 @@ Features:
78
90
  **To-Do:**
79
91
 
80
92
  - Add selection menus to make it easier to pick a particular operation.
93
+ - Add retrying to the fine-tuning process (if necessary).
94
+ - Add an option to filter newest posts by a specific date.
81
95
 
82
96
  **Please submit an issue or contact us for features you want added/reimplemented.**
83
97
 
84
- ## Installation & Usage
85
-
86
- 1. Install the latest version of [Python]:
87
- - Windows: `winget install python3`
88
- - Linux (apt): `apt install python-pip`
89
- - Linux (pacman): `pacman install python-pip`
90
- 1. Install the [pip] package: `pip install tumblrbot`
91
- - Alternatively, you can install from this repository: `pip install git+https://github.com/MaidScientistIzutsumiMarin/tumblrbot.git`
92
- - On Linux, you will have to make a virtual environment or use the flag to install packages system-wide.
93
- 1. Run `tumblrbot` from anywhere. Run `tumblrbot --help` for command-line options. Every command-line option corresponds to a value from the [config][configurable].
98
+ ---
94
99
 
95
100
  ## Obtaining Tokens
96
101
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "tumblrbot"
3
- version = "1.10.0"
3
+ version = "1.10.1"
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.14"
@@ -136,5 +136,6 @@ class FineTuner(FlowClass):
136
136
  yield 4 + len(encoding.encode(message.content))
137
137
 
138
138
  def get_cost_string(self, total_tokens: int) -> str:
139
- cost = CurrencyConverter().convert(self.config.token_price / 1000000 * total_tokens, "USD", localeconv()["int_curr_symbol"].strip())
140
- return currency(cost, grouping=True)
139
+ usd_cost = self.config.token_price / 1000000 * total_tokens
140
+ local_cost = currency(CurrencyConverter().convert(usd_cost, "USD", localeconv()["int_curr_symbol"].strip()), grouping=True)
141
+ return f"{usd_cost:.3} USD (~{local_cost})"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: tumblrbot
3
- Version: 1.10.0
3
+ Version: 1.10.1
4
4
  Summary: An updated bot that posts to Tumblr, based on your very own blog!
5
5
  Project-URL: Funding, https://ko-fi.com/maidscientistizutsumimarin
6
6
  Project-URL: Source, https://github.com/MaidScientistIzutsumiMarin/tumblrbot
@@ -18,7 +18,6 @@ Requires-Dist: tomlkit
18
18
 
19
19
  # tumblrbot
20
20
 
21
-
22
21
  [OAuth]: https://oauth.net/1
23
22
  [Python]: https://python.org/download
24
23
 
@@ -51,6 +50,19 @@ Requires-Dist: tomlkit
51
50
  [Fine-Tuning]: #manual-fine-tuning
52
51
  [![PyPI - Version](https://img.shields.io/pypi/v/tumblrbot)](https://python.org/pypi/tumblrbot)
53
52
 
53
+ ## Installation & Usage
54
+
55
+ 1. Install the latest version of [Python]:
56
+ - Windows: `winget install python3`
57
+ - Linux (apt): `apt install python-pip`
58
+ - Linux (pacman): `pacman install python-pip`
59
+ 1. Install the [pip] package: `pip install tumblrbot`
60
+ - Alternatively, you can install from this repository: `pip install git+https://github.com/MaidScientistIzutsumiMarin/tumblrbot.git`
61
+ - On Linux, you will have to make a virtual environment or use the flag to install packages system-wide.
62
+ 1. Run `tumblrbot` from anywhere. Run `tumblrbot --help` for command-line options. Every command-line option corresponds to a value from the [config][configurable].
63
+
64
+ ---
65
+
54
66
  Description of original project:
55
67
  > 4tv-tumblrbot was a collaborative project I embarked on with my close friend Dima, who goes by @smoqueen on Tumblr. The aim of this endeavor was straightforward yet silly: to develop a Tumblr bot powered by a machine-learning model. This bot would be specifically trained on the content from a particular Tumblr blog or a selected set of blogs, allowing it to mimic the style, tone, and thematic essence of the original posts.
56
68
 
@@ -96,19 +108,12 @@ Features:
96
108
  **To-Do:**
97
109
 
98
110
  - Add selection menus to make it easier to pick a particular operation.
111
+ - Add retrying to the fine-tuning process (if necessary).
112
+ - Add an option to filter newest posts by a specific date.
99
113
 
100
114
  **Please submit an issue or contact us for features you want added/reimplemented.**
101
115
 
102
- ## Installation & Usage
103
-
104
- 1. Install the latest version of [Python]:
105
- - Windows: `winget install python3`
106
- - Linux (apt): `apt install python-pip`
107
- - Linux (pacman): `pacman install python-pip`
108
- 1. Install the [pip] package: `pip install tumblrbot`
109
- - Alternatively, you can install from this repository: `pip install git+https://github.com/MaidScientistIzutsumiMarin/tumblrbot.git`
110
- - On Linux, you will have to make a virtual environment or use the flag to install packages system-wide.
111
- 1. Run `tumblrbot` from anywhere. Run `tumblrbot --help` for command-line options. Every command-line option corresponds to a value from the [config][configurable].
116
+ ---
112
117
 
113
118
  ## Obtaining Tokens
114
119
 
File without changes