ytstudio-cli 0.1.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.
@@ -0,0 +1,80 @@
1
+ Metadata-Version: 2.4
2
+ Name: ytstudio-cli
3
+ Version: 0.1.0
4
+ Summary: CLI tool to manage and analyze your YouTube channel from the terminal
5
+ Project-URL: Homepage, https://github.com/jdwit/ytstudio-cli
6
+ Project-URL: Repository, https://github.com/jdwit/ytstudio-cli
7
+ Author-email: Jelmer de Wit <1598297+jdwit@users.noreply.github.com>
8
+ License: MIT
9
+ License-File: LICENSE
10
+ Keywords: analytics,cli,creator,video,youtube,youtube-studio
11
+ Classifier: Development Status :: 3 - Alpha
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Requires-Python: >=3.12
19
+ Requires-Dist: google-api-python-client>=2.0.0
20
+ Requires-Dist: google-auth-oauthlib>=1.0.0
21
+ Requires-Dist: google-auth>=2.0.0
22
+ Requires-Dist: packaging>=21.0
23
+ Requires-Dist: rich>=13.0.0
24
+ Requires-Dist: typer>=0.9.0
25
+ Description-Content-Type: text/markdown
26
+
27
+ # YT Studio CLI
28
+
29
+ [![CI](https://github.com/jdwit/ytstudio/actions/workflows/ci.yml/badge.svg)](https://github.com/jdwit/ytstudio/actions/workflows/ci.yml)
30
+ [![PyPI](https://img.shields.io/pypi/v/ytstudio-cli)](https://pypi.org/project/ytstudio-cli/)
31
+ [![Python](https://img.shields.io/pypi/pyversions/ytstudio-cli)](https://pypi.org/project/ytstudio-cli/)
32
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
33
+
34
+ Manage and analyze your YouTube channel from the terminal. Ideal for automation and AI workflows.
35
+
36
+ ![demo](demo.gif)
37
+
38
+ ## Motivation
39
+
40
+ I built this because I needed to bulk update video titles for a YouTube channel I manage with 300+ videos. YouTube
41
+ Studio does not support bulk search-replace operations, which made it a tedious manual process. This tool uses the
42
+ YouTube Data API to perform bulk operations on video metadata. Furthermore, it provides features for analytics and
43
+ comment moderation, all accesible from the command line.
44
+
45
+ ## Installation
46
+
47
+ I recommend the excellent [uv](https://uv.io/) tool for installation:
48
+
49
+ ```bash
50
+ uv tool install ytstudio-cli
51
+ ```
52
+
53
+ ## Setup
54
+
55
+ 1. Create a [Google Cloud project](https://console.cloud.google.com/)
56
+ 2. Enable **YouTube Data API v3** and **YouTube Analytics API**
57
+ 3. Configure OAuth consent screen:
58
+ - Go to **APIs & Services** → **OAuth consent screen**
59
+ - Select **External** and create
60
+ - Fill in app name and your email
61
+ - Skip scopes, then add yourself as a test user
62
+ - Leave the app in "Testing" mode (no verification needed)
63
+ 4. Create OAuth credentials:
64
+ - Go to **APIs & Services** → **Credentials**
65
+ - Click **Create Credentials** → **OAuth client ID**
66
+ - Select **Desktop app** as application type
67
+ - Download the JSON file
68
+ 5. Configure ytstudio:
69
+
70
+ ```bash
71
+ ytstudio init --client-secrets path/to/client_secret_<id>.json
72
+ ytstudio login
73
+ ```
74
+
75
+ Credentials stored in `~/.config/ytstudio/`.
76
+
77
+ ## Disclaimer
78
+
79
+ This project is not affiliated with or endorsed by Google. YouTube and YouTube Studio are trademarks of Google.
80
+ All channel data is accessed exclusively through the official [YouTube Data API](https://developers.google.com/youtube/v3) and [YouTube Analytics API](https://developers.google.com/youtube/analytics).
@@ -0,0 +1,23 @@
1
+ ytstudio/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
+ ytstudio/api.py,sha256=lwbuq1gAFdNV-BBJ0QltqD7juiJJ2wele1QRcF_YWe8,5568
3
+ ytstudio/config.py,sha256=bLJPqnnQwp4CFey3oHxzbJUfEDKOB0_48qS57FpMkTs,2404
4
+ ytstudio/demo.py,sha256=wyLwJkf_9uProa1h28nSi6BPfsmYg6qw2TyPoajjUeI,5857
5
+ ytstudio/main.py,sha256=vTI3I72lZ1tfgKx5uef-pAu1BmcCY1WqtL11270qd8g,1985
6
+ ytstudio/registry.py,sha256=tQqacOXtraBtI1DzJ6oyJXCdSIrgh-lHGdXVTUYpFYs,15677
7
+ ytstudio/services.py,sha256=TMRMGctMcwR-TcPZsqIEfG5jNyvd4jg2seRqCDvVuD4,420
8
+ ytstudio/ui.py,sha256=knEl8zVxOkbP32Jqa025UjVHv0fulm626kaTmjjpqYM,2216
9
+ ytstudio/version.py,sha256=Mk_chCQu9T_FTZzCnzgqG42snwRbco8uL1DL8kvGcvo,2165
10
+ ytstudio/commands/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ ytstudio/commands/analytics.py,sha256=fv3pjZ9B0giIE6qlu2goAktUdxeVqKUG7dgF7R5JphE,18543
12
+ ytstudio/commands/comments.py,sha256=wJKDE4blpgzwte0ikHQtBs10jPhuaic92cxgAm3Yzmk,5790
13
+ ytstudio/commands/videos.py,sha256=kv_FeF-ByHLrcAWecLkTvccYootQUh9vacQMMFWnh3s,16008
14
+ ytstudio/demo_data/analytics_metrics.json,sha256=YTdJTxri7rzJMEoKHTvMl2noy_mDnm2BBFSxAgSQYaI,4873
15
+ ytstudio/demo_data/channel.json,sha256=YIqOthYerxuKLeXJa3FlwvvCLV-iqnCZD1gvsGrootg,416
16
+ ytstudio/demo_data/comments.json,sha256=3sPZFo5wCYiHBhHCT7OONn5hU1KVh80FZt9HWV6mhHk,7928
17
+ ytstudio/demo_data/playlist_items.json,sha256=qjbYU9jHQ-CS3DAsomge5InEqvhadX_jAFvXLXjDVVI,2877
18
+ ytstudio/demo_data/videos.json,sha256=uGLTEoLzJiknA2u_cbXX8_HWd38Ege-ADQSdBeLOUNI,12255
19
+ ytstudio_cli-0.1.0.dist-info/METADATA,sha256=a_MqPlXHgTWD_QwL9BalyZN3g4zAND7GSV0tlroeHN4,3283
20
+ ytstudio_cli-0.1.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
21
+ ytstudio_cli-0.1.0.dist-info/entry_points.txt,sha256=5GdXSjw017T3kgGK6gE_JMxFzWYt99YQMoEE0DqwJ74,47
22
+ ytstudio_cli-0.1.0.dist-info/licenses/LICENSE,sha256=AeHb7br9NSelhEqf4h9UrVR6AByVnMyTSukhgOdCWqM,1070
23
+ ytstudio_cli-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ ytstudio = ytstudio.main:app
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Jelmer de Wit
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.