Metadata-Version: 2.4
Name: luos-pydroid
Version: 2.1.0
Summary: Customizable Android-like Python OS framework built with Kivy
Author: LuOS Project
License: MIT License
        
        Copyright (c) 2026 LuOS Python
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://pypi.org/project/luos-pydroid/
Project-URL: Repository, https://github.com/
Keywords: kivy,android,os,operating-system,gui,pydroid,framework
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: User Interfaces
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: kivy>=2.3.1
Dynamic: license-file
Dynamic: requires-python

# LuOS 2.1 — Criador de Sistemas Operacionais

LuOS e uma biblioteca Python + Kivy para criar interfaces de sistemas operacionais Android-like no Pydroid 3.

Agora cada pessoa pode criar **seu proprio OS e escolher/criar os aplicativos dele**.

## Exemplo rapido

```python
#Pydroid run kivy
import os
os.environ.setdefault('KIVY_NO_ARGS', '1')
os.environ.setdefault('KIVY_NO_MTDEV', '1')

from luos import LuOS
from luos.apps import register_builtin_apps
from luos.builder import create_os

meu_os = create_os('CaseOS', 'Meu sistema operacional')
meu_os.add_simple_app('Boas-vindas', 'caseos.hello', 'HI', 'Ola do meu OS!')
meu_os.add_simple_app('Meu App', 'caseos.app', 'APP', 'Este app pertence ao meu sistema.')

sistema = meu_os.install(LuOS())
register_builtin_apps(sistema)
sistema.run()
```

## Criar aplicativos com Python

```python
from luos import App

class Musica(App):
    name = 'Musica'
    icon = 'MUS'
    package = 'caseos.musica'

    def open(self, ui):
        ui.title('Musica')
        ui.text('Meu aplicativo de musica')
        ui.button('Tocar', lambda *_: ui.text('Tocando...'))
```

Depois:

```python
meu_os.add_app(Musica())
```

## Criador de OS dentro do sistema

O app **Criador de OS** permite definir nome, descricao e um aplicativo simples e salvar o projeto em `data/meuos.json`.

## Arquivos importantes

- `luos/core.py` — motor do OS
- `luos/builder.py` — criacao de sistemas e apps por configuracao
- `luos/apps/` — aplicativos
- `meu_os.py` — exemplo de um sistema personalizado
- `data/` — dados locais

O LuOS continua sendo uma simulacao de sistema operacional executada dentro do Android/Pydroid; ele nao substitui o Android.
