Skip to main content

It is a library that helps you create thumbnails for your YouTube channel

Project description

What Is PyTubeThumbs ?

PyTubeThumbs

It is a library that helps you create thumbnails for your YouTube channel easily and in a programmatic way 🙂

Examples of How To Use

Create thumbnail

import pytubethumbs



generator = pytubethumbs.PyTubeThumbs(title = 'How to make ChatBot in python', out_path='G:/')

generator.add_text(

            pos=(80, 50),

            text = generator.title, 

            size = 70,

            color = 'black',

            font_path='fonts/Cairo-Black.ttf',

        )



generator.add_image('python.png', pos = (100, 250), size = (140, 140))

generator.add_image('robot.png', pos = (280, 250), size = (140, 140))

generator.save_thumb()

You can also make a thumbnail in an easier way using a ready-made template

import pytubethumbs



generator = pytubethumbs.PyTubeThumbs(title = 'How to make ChatBot in python', out_path='G:/')

generator.template_text_2imgs(generator.title, 'fonts/Cairo-Black.ttf', 'python.png', 'robot.png')



generator.save_thumb()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytubethumbs-0.0.33-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file pytubethumbs-0.0.33-py3-none-any.whl.

File metadata

  • Download URL: pytubethumbs-0.0.33-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for pytubethumbs-0.0.33-py3-none-any.whl
Algorithm Hash digest
SHA256 352ed4ace0535d8afb59433e0070dd3d8a45aeeb5a54089f0c9bb21e2013bb78
MD5 a89a450be71c422203421e9a33c0af0e
BLAKE2b-256 a6436b1bc0bd470a6a363690d6ea2d97a5516a02dd5a4d0e38cce8d254cac914

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page