oktopios-framework 🐙🌐
Framework web MVC pour le langage Oktopios, dans l'esprit de Django et Symfony — on reprend leurs points forts, on vise à transformer leurs points faibles en points forts.
Troisième couche de l'écosystème, façon Django/Symfony :
| Couche | Rôle | Équivalent |
|---|---|---|
oktopios |
langage + interpréteur | Python / PHP |
oktopios-orm |
ORM (modèles, migrations, requêtes) | Django ORM / Doctrine |
oktopios-framework |
framework applicatif (config, MVC…) | Django / Symfony |
Installation
pip install oktopios-framework
Installe automatiquement oktopios-orm et oktopios (dépendances) — comme
Django tire Python et Symfony tire PHP.
Statut (construction pilier par pilier)
- ✅ ORM (via
oktopios-orm) — modèles décorés, migrations, query-builder - ✅ Configuration par environnement (
.env.local,.env.prod) - ⏳ Routing + contrôleurs (serveur HTTP)
- ⏳ Moteur de templates (vues)
- ⏳ Formulaires / validation, Auth, CLI / scaffolding
Structure
oktopios-framework/
├── oktopios_framework/
│ ├── config.okp # Config : chargement .env.<env>
│ └── (routing.okp, view.okp … à venir)
└── examples/
├── blog.okp # démo ORM + config
├── .env.local # config développement
└── .env.prod # config production
Démarrage
pip install oktopios-framework
okp examples/blog.okp # depuis la racine du projet
use "oktopios_orm/orm.okp"
use "oktopios_framework/config.okp"
var cfg = new Config()
cfg.load("local") // lit .env.local ("prod" -> .env.prod)
print(cfg.get("DB_PATH"))
@Entity("articles")
class Article {
@Id
var id: int
@Column("titre")
var title: string
}
// ... Schema.migrate / Repo / Query fournis par oktopios-orm
Configuration .env (façon Symfony)
.env.local (développement) et .env.prod (production) contiennent des paires
CLE=VALEUR. Config.load("local") / Config.load("prod") chargent le fichier
correspondant. Ne mettez jamais de secrets réels dans un .env.prod versionné.
Licence
MIT © Mouanwiya Ali Soule
Metadata
Release files for oktopios-framework 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| oktopios_framework-0.1.0.tar.gz | 4.3 kB | Without provenance | Details for oktopios_framework-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| oktopios_framework-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for oktopios_framework-0.1.0-py3-none-any.whl |
Total release size: 9.3 kB
Release files / oktopios_framework-0.1.0.tar.gz
| Download URL | oktopios_framework-0.1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
036e6e64fadb2ec773ab8fdf12292ac41e08946b7b30a7334ba0f62dd4b004b4
|
|
BLAKE2b-256 checksum How to use checksums |
6e2697aa6ea5ac039267b0abe422934faa62a0492324c0f1e0ceead7d716259c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / oktopios_framework-0.1.0-py3-none-any.whl
| Download URL | oktopios_framework-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e4b0a6e349990cb90082de0907d39e07544002dd16e778ea6ac61fb17263e95
|
|
BLAKE2b-256 checksum How to use checksums |
2f4ea3355c9f60d45906d001e462a6580e92e6af35713e76a4b641cf670ea83b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Security for oktopios-framework 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.