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
- Use imagens quadradas nos cards
- Adicione emojis nos títulos 🔥
- Qt oferece melhor performance que Tkinter
- 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:
- Revise esta documentação
- Teste os exemplos
- Personalize ao seu estilo
- Sucesso! 🚀
⭐ Deixe sua estrela se gostou!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70909ce30b1a6f8c28479ee26ec97f4855cc2590f60531e2d5d9127543884ba2
|
|
| MD5 |
ef0af10081bc57b720b17dbc576e5df4
|
|
| BLAKE2b-256 |
73f565a59231ed68f09984704c01c2ed5c1ed59d59ab42185f573745ad957d9c
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9000f43affb676d6d500fc43cad381ea559e71ddeb2b57652b1dc4d3cfca5ecb
|
|
| MD5 |
1f4c9bbe1841d46858e9faf03dd90f6a
|
|
| BLAKE2b-256 |
8e609cd73bdf34ee20628a8ff5e25e925d9bc73bd6a36c438f0e1296dd746802
|