Framework.
Go to file
2026-07-22 07:23:56 +02:00
Artbook #wip: In Dev client and server connection. 2026-05-25 07:26:02 +02:00
Dockers #wip: Fixing the SQL Server Scripts. 2026-07-13 14:38:33 +02:00
Files/ORM/SQLServer #wip: ORM building. 2026-07-13 07:51:35 +02:00
JSON #wip: Sessions Management. 2026-07-14 14:42:33 +02:00
MD #wip: SQL Server base. 2026-07-11 10:47:39 +02:00
Public #wip: Map connection. 2026-07-22 07:23:56 +02:00
Python #wip: Map connection. 2026-07-22 07:23:56 +02:00
SQLServer #wip: Sessions Management. 2026-07-14 14:42:33 +02:00
Tools #wip: Sessions Management. 2026-07-14 14:42:33 +02:00
.gitignore #wip: ORM building. 2026-07-13 07:51:35 +02:00
docker-compose.yml #wip: Fixing the SQL Server Scripts. 2026-07-13 14:38:33 +02:00
LICENSE Initial commit 2026-05-16 17:32:19 +00:00
null #wip: Fixing the SQL Server Scripts. 2026-07-13 14:38:33 +02:00
README.md fix(py): FilesDriver prepare directory. 2026-07-18 15:59:46 +02:00
version #wip: In Dev client and server connection. 2026-05-25 07:26:02 +02:00

AnP

Framework.

Instalations

#!/bin/bash

apt update && apt -y upgrade && apt -y autoclean && apt -y autoremove
pyp3 install websockets selenium selenium-wire pyodbc parsel setuptools==69.5.1 blinker==1.7.0 --break-system-packages

@echo off

@rem setuptools==69.5.1 => Lastest miss some dependences.
@rem blinker==1.7.0 => Lastests has a security error.
pyp install websockets pyodbc requests selenium selenium-wire setuptools==69.5.1 blinker==1.7.0

Settings

Root Paths

#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# /Python/secrets.py

from typing import Any

secrets:dict[str, Any|None] = {
    "root_paths" : ["/ABSOLUTE/PATH/AnP"]
}

Web Socket Server

{
    "default_web_sockets_servers" : {
        "anp" : {
            "type" : "WebSocketServerDriver", 
            "host" : "", 
            "port" : 18765
        }
    }
}

HTTP Server

{
    "default_http_servers" : {
        "anp" : {
            "type" : "HTTPServerDriver", 
            "type2" : "HTTPSocketServerDriver", 
            "host" : "", 
            "port" : 18000
        }
    }
}

AI Interpreters

{
    "default_ai_interpreters" : {
        "anp_titles" : {
            "type" : "OllamaDriver", 
            "url" : "http://localhost:11434/api/generate/",
            "model" : "gemma3:1b", 
            "pool" : "anp",
            "format" : {
                "type": "array",
                "items": {
                    "type": "boolean"
                }
            }, 
            "stream" : false, 
            "think" : false, 
            "temperature" : 0.0, 
            "allow_contexts" : true
        }, 
        "anp_responses" : {
            "type" : "OllamaDriver", 
            "url" : "http://localhost:11434/api/generate/",
            "model" : "gemma4:e4b", 
            "stream" : true, 
            "pool" : "anp", 
            "think" : false, 
            "temperature" : 0.7, 
            "allow_contexts" : true
        }
    }
}

Directory Cloner

{
    "default_directories_clones_files" : {
        "anp" : {
            "from" : "/ABSOLUTE/PATH/AnP/Python/AnP",
            "to" : "AnP", 
            "exclude" : ["__pycache__", "deleted", "secret", ".pyc"], 
            "time_refresh" : 5, 
            "module" : "python", 
            "autorun" : true, 
            "print_changes" : true
        }
    }
}

Browsers

{
    "default_browsers" : {
        "selenium" : {
            "type" : "Selenium", 
            "print_actions" : false
        }, 
        "xml" : {
            "type" : "XMLScrap", 
            "print_actions" : false
        }
    }
}

Scrappers

{
    "default_scrappers_files" : {
        "mt" : {
            "type" : "MTScrapper", 
            "browser" : "selenium",
            "url" : "https://www43.mejortorrent.eu/inicio", 
            "autorun" : true
        }
    }
}