Skip to main content

Cria interfaces gráficas modernas que parecem sites! (Requer Python 3.10+)

Project description

WebifyTk 🎨

Uma biblioteca incrível para criar interfaces gráficas modernas que parecem sites!

🚀 COMO USAR:

1. INSTALAÇÃO

\\ash pip install webifytk \\

2. APP BÁSICO (RÁPIDO)

\\python from webifytk import WebifyApp

app = WebifyApp('Meu App', theme='dark') app.add_navbar('TÍTULO INCRÍVEL 🔥', ['Home', 'Sobre']) app.run() \\

3. APP COMPLETO (AVANÇADO)

\\python from webifytk import WebifyApp

Cria a aplicação

app = WebifyApp('Meu App Incrível', theme='dark', engine='qt') # engine='tkinter' também funciona

Adiciona uma navbar moderna

app.add_navbar('MEU APP 🚀', [ 'Home', 'Produtos', 'Sobre', 'Contato' ])

Hero section impressionante

app.add_hero( 'TÍTULO PRINCIPAL AQUI!', 'Um subtítulo interessante para complementar' )

Cards modernos

cards = [ { 'title': '🎮 Games', 'content': 'Descrição incrível do card', 'image': 'https://picsum.photos/300/200?1' }, { 'title': '🎨 Design', 'content': 'Mais uma descrição incrível', 'image': 'https://picsum.photos/300/200?2' }, { 'title': '🚀 Inovação', 'content': 'Este card é impressionante', 'image': 'https://picsum.photos/300/200?3' } ] app.add_cards_section(cards)

Se for Qt, adiciona uma webview

if app.engine == 'qt': app.add_web_view('https://google.com')

Inicia a aplicação!

app.run() \\

4. TEMAS DISPONÍVEIS

\\python

Tema escuro moderno

app = WebifyApp(theme='dark')

Tema claro elegante

app = WebifyApp(theme='light') \\

5. COMPONENTES DISPONÍVEIS

Navbar (Menu superior)

\\python app.add_navbar( 'TÍTULO', ['Menu 1', 'Menu 2', 'Menu 3'] ) \\

Hero (Seção principal)

\\python app.add_hero( 'TÍTULO PRINCIPAL', 'Subtítulo interessante' ) \\

Cards (Elementos visuais)

\\python cards = [ { 'title': 'TÍTULO', 'content': 'DESCRIÇÃO', 'image': 'URL_DA_IMAGEM' # opcional } ] app.add_cards_section(cards) \\

WebView (Exclusivo Qt)

\\python app.add_web_view('https://google.com') \\

6. PERSONALIZAÇÃO AVANÇADA

Cores

\\python from webifytk import WebifyStyle

WebifyStyle.COLORS = { 'primary': '#ff0000', # Vermelho vibrante 'secondary': '#00ff00', # Verde moderno 'success': '#0000ff', # Azul elegante } \\

Fontes

\\python WebifyStyle.FONTS = { 'heading': ('Arial', 30, 'bold'), # Título principal 'body': ('Arial', 14), # Texto normal } \\

7. RESOLUÇÃO DE PROBLEMAS

Se houver erro de versão: \\ash python upgrade_python.py \\

Se faltar Qt: \\ash pip install PyQt6 PyQt5 PyQtWebEngine \\

8. DICAS IMPORTANTES

  1. Use imagens quadradas nos cards
  2. Adicione emojis nos títulos 🔥
  3. Qt oferece melhor performance que Tkinter
  4. Não esqueça de dar uma estrela no projeto ⭐

9. EXEMPLOS PRÁTICOS

App de Portfólio

\\python app = WebifyApp('Meu Portfólio', theme='dark')

app.add_navbar('MEU NOME 🚀', ['Projetos', 'Skills', 'Contato'])

app.add_hero( 'Desenvolvedor Criativo', 'Criando aplicações incríveis' )

projetos = [ { 'title': '🎮 Projeto 1', 'content': 'Um projeto incrível', 'image': 'url_do_projeto' }, { 'title': '🤖 Projeto 2', 'content': 'Outro projeto incrível', 'image': 'url_do_projeto2' } ] app.add_cards_section(projetos)

app.run() \\

App de Loja

\\python app = WebifyApp('Minha Loja', theme='dark', engine='qt')

app.add_navbar('LOJA INCRÍVEL 🛒', ['Produtos', 'Carrinho', 'Login'])

app.add_hero( 'SUPER PROMOÇÃO 🔥', 'Descontos imperdíveis!' )

produtos = [ { 'title': '👕 Camiseta', 'content': 'R$ 49,90', 'image': 'url_camiseta' }, { 'title': '👖 Calça', 'content': 'R$ 99,90', 'image': 'url_calca' } ] app.add_cards_section(produtos)

app.run() \\

🎮 COMECE A CRIAR!

Agora é sua vez de criar aplicações incríveis!

Se precisar de ajuda:

  1. Revise esta documentação
  2. Teste os exemplos
  3. Personalize ao seu estilo
  4. Sucesso! 🚀

⭐ Deixe sua estrela se gostou!

Project details


Download files

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

Source Distribution

webifytk-0.1.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

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

webifytk-0.1.2-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file webifytk-0.1.2.tar.gz.

File metadata

  • Download URL: webifytk-0.1.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for webifytk-0.1.2.tar.gz
Algorithm Hash digest
SHA256 70909ce30b1a6f8c28479ee26ec97f4855cc2590f60531e2d5d9127543884ba2
MD5 ef0af10081bc57b720b17dbc576e5df4
BLAKE2b-256 73f565a59231ed68f09984704c01c2ed5c1ed59d59ab42185f573745ad957d9c

See more details on using hashes here.

File details

Details for the file webifytk-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: webifytk-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for webifytk-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9000f43affb676d6d500fc43cad381ea559e71ddeb2b57652b1dc4d3cfca5ecb
MD5 1f4c9bbe1841d46858e9faf03dd90f6a
BLAKE2b-256 8e609cd73bdf34ee20628a8ff5e25e925d9bc73bd6a36c438f0e1296dd746802

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