Library containing the core modules for the kingdom-python-server.

Overview

🏰 Kingdom Core

Library containing the core modules for the kingdom-python-server.

Installation

Use the package manager pip to install kingdom-core.

pip install kingdom-core

You can use poetry as well.

poetry add kingdom-core

Usage

from kingdom_core.utils import files

orm_files = files.find("orm.py", "/")

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

This file is based on Make a README.

You might also like...
Very simple FTP client, sync folder to FTP server, use python, opensource
Very simple FTP client, sync folder to FTP server, use python, opensource

ftp-sync-python Opensource, A way to safe your data, avoid lost data by Virus, Randsomware Some functions: Upload a folder automatically to FTP server

Simple threaded Python Rickroll server. Listens on port 23 by default.

Terminal Rickroll Simple threaded Python Rickroll server. Listens on port 23 by default. Rickroll video made using Video-To-Ascii and the standard ric

Python implementation of the Session open group server

API Documentation CLI Reference Want to build from source? See BUILDING.md. Want to deploy using Docker? See DOCKER.md. Installation Instructions Vide

🎥 PYnema is a simple UDP server written in python, allows you to watch downloaded videos.

🎥 PYnema is a simple UDP server written in python, allows you to watch downloaded videos.

A Calendar subscribe server for python

cn-holiday-ics-server A calendar subscribe server 直接使用我搭建的服务 订阅节假日:https://cdxy.fun:9999/holiday 订阅调休上班:https://cdxy.fun:9999/workday 节假日和调休上班在一起的版本:h

TsuserverMoS - A Python-based server for Attorney Online,

tsuserverMoS A Python-based server for Attorney Online, forked from RealKaiser/tsuserverCC Requires Python 3.7+ and PyYAML. Changes/additions from tsu

Serves some data over HTTP, once. Based on the built-in Python module http.server

serve-me-once Serves some data over HTTP, once. Based on the built-in Python module http.server.

A simple multi-threaded time server and client in python.

time-server-client A simple multi-threaded time server and client in Python. This uses the latest match/case command found in Python 3.10 so requires

BlueHawk is an HTTP/1.1 compliant web server developed in python

This project is done as a part of Computer Networks course. It aims at the implementation of the HTTP/1.1 Protocol based on RFC 2616 and includes the basic HTTP methods of GET, POST, PUT, DELETE and HEAD.

Comments
  • Postgres schemas support

    Postgres schemas support

    📝 Description

    This PR adds schema segregation support for Postgres databases, looking towards a microservices migration model.

    🛠️ Changes

    • Added schema on orm configuration (3b5e25d)
    • Removed useless root aggregate (a7f6ddf, 60a7b16)
    • Added legacy support to use without schemas (22dafea)
    opened by williamabreu 2
  • Base DDD modeling (pre-release v0.3.0)

    Base DDD modeling (pre-release v0.3.0)

    📝 Description

    This PR aims to provide a general model to be used in the T10's projects (first in the Zoe Core), giving a high-level DDD abstraction and some sort of code quality enforcements. The goal is to provide a DDD framework over the SQLAlchemy library, with SQL templating capability for native queries.

    🛠️ Changes

    • Added dynamic start mappers, ready to be used with Plugin Pattern (5877191)
    • Standardized the docstring format (1ceeede)
    • Renamed library to kingdom-sdk (b0d9ccd)
    • Activated Mypy strict mode, very aggressive, but can be more! (46b1ff0)
    • Added cast to bool from string function (5c93c1d)
    • Added generate_now time function (6931adf)
    • Added dynamic loader modules (a9aaa06)
    • Added split module and class (eebc0aa)
    • Added DDD base models (8cd10ab, 45210c5, d9391e7)
    • Added orm factories (275fd9d)
    • Added orm mappers (3bff7e6)
    • Added Repository (23d0dcf, d17127e)
    • Added Unit of Work (b0467c3, 9d75d7d)
    • Standardized to use factory method instead default constructor (afba7e8)
    • Added DQL interface for CQRS (aefee53, b40caef)
    • Added Redis message broker (d6c0519, b460aed)
    • Added generic messagebus (32970be, 4626acc)
    • Added tests

    ⚠️ Notes

    opened by williamabreu 1
  • General improvements

    General improvements

    📝 Description

    Some code base improvements identified when using when using the tool in other projects.

    🛠️ Changes

    ⚠️ Notes

    • Left some comments in alembic.ini to a possible improvement in revision file name templating.
    • If the changes here make sense, remember to increase the lib version.
    • should the target branch be dev or main?
    opened by andreyrcdias 0
  • Init events on Aggregate in-memory

    Init events on Aggregate in-memory

    Use the orm.reconstructor decorator on the events attribute for the Aggregate model to init and load it only on memory, according to the example on the Constructors and Object Initialization section of SQLAlchemy docs:

    from sqlalchemy import orm
    
    
    class MyMappedClass:
        def __init__(self, data):
            self.data = data
            # we need stuff on all instances, but not in the database.
            self.stuff = []
    
        @orm.reconstructor
        def init_on_load(self):
            self.stuff = []
    
    enhancement 
    opened by filipelobo 0
Releases(v1.0.0)
  • v1.0.0(Dec 27, 2021)

  • v0.3.0(Nov 16, 2021)

    [0.3.0] - 2021-11-16

    Added

    • Added base implementation of CQRS Pattern.
    • Added base implementation of Unit of Work Pattern.
    • Added base implementation of Repository Pattern.
    • Added base implementation of Message Bus with dependency injection.
    • Added base implementation of Redis Message Broker.
    • Added higher-order functions to database mappers and factories.
    • Added abstract DDD Entity model.
    • Added generate now time utility.
    • Added root configuration handled by environment variables.
    • Added casting to bool from string utility.
    • Added json serializer utility.

    Changed

    • Renamed project's name from kingdom-core to kingdom-sdk.
    • Increased MyPy rules to be more aggressive.
    Source code(tar.gz)
    Source code(zip)
Owner
T10
🛠 We make computer do what we want. Mostly on the web
T10
BlueHawk is an HTTP/1.1 compliant web server developed in python

This project is done as a part of Computer Networks course. It aims at the implementation of the HTTP/1.1 Protocol based on RFC 2616 and includes the basic HTTP methods of GET, POST, PUT, DELETE and

2 Nov 11, 2022
A python socket.io client for Roboteur

Roboteur Client Example TODO Basic setup Install the requirements: $ pip install -r requirements.txt Run the application: $ python -m roboteur_client

Barry Buck 1 Oct 13, 2021
Wallc - Calculate the layout on the wall to hang up pictures

wallc Calculate the layout on the wall to hang up pictures. Installation pip install git+https://github.com/trbznk/wallc.git Getting Started Currently

Alex Trbznk 68 Sep 09, 2022
Eclipse zenoh Python API

Eclipse zenoh Python API Eclipse zenoh is an extremely efficient and fault-tolerant Named Data Networking (NDN) protocol that is able to scale down to

26 Jan 05, 2023
Web-server with a parser, connection to DBMS, and the Hugging Face.

Final_Project Web-server with parser, connection to DBMS and the Hugging Face. Team: Aisha Bazylzhanova(SE-2004), Arysbay Dastan(SE-2004) Installation

Aisha Bazylzhanova 2 Nov 18, 2021
IPV4 network calculation project in Python

Curso de Python 3 do Básico ao Avançado Desafio: Calculando redes IPV4 Criar um programa que obtem um numero de IP com o prefixo da mascara de rede. O

Diego Guedes 3 Jan 21, 2022
Simple self-hosted server to receive files from remote systems

Badtray This is a very simple self-hosted server to receive files from remote systems. This works similar to Bintray (RIP) and primarily designed to d

Alex Taradov 1 Nov 22, 2021
StarCraft II Client - protocol definitions used to communicate with StarCraft II.

Overview The StarCraft II API is an interface that provides full external control of StarCraft II. This API exposes functionality for developing softw

Blizzard Entertainment 3.6k Dec 30, 2022
A lightweight python script that can monitor the T-Mobile Home Internet Nokia 5G Gateway for band and connectivity and reboot as needed.

tmo-monitor A lightweight Python 3 script that can monitor the T-Mobile Home Internet Nokia 5G Gateway for band and connectivity and reboot as needed.

61 Dec 17, 2022
This Tool can help enginners and biggener in network, the tool help you to find of any ip with subnet mask that can calucate them and show you ( Availble IP's , Subnet Mask, Network-ID, Broadcast-ID )

This Tool can help enginners and biggener in network, the tool help you to find of any ip with subnet mask that can calucate them and show you ( Availble IP's , Subnet Mask, Network-ID, Broadcast-ID

12 Dec 13, 2022
Tool to transfer credential files from Firefox to your local machine to decrypt offline.

Firefox-Dumper Firefox Dumper identifies the current user's Firefox profile directory and exfiltrates the credential files to the attacker's FTP serve

Joe Helle 22 Sep 10, 2022
Ov3 - Easy common OpenVPN3 operations

ov3 Easy common OpenVPN3 operations Install ov3 requires Python3 and OpenVPN3 to

Yunus Bora Erciyas 6 Apr 25, 2022
tradingview socket api for fetching real time prices.

tradingView-API tradingview socket api for fetching real time prices. How to run git clone https://github.com/mohamadkhalaj/tradingView-API.git cd tra

MohammadKhalaj 35 Dec 31, 2022
Simple DNS resolver for asyncio

Simple DNS resolver for asyncio aiodns provides a simple way for doing asynchronous DNS resolutions using pycares. Example import asyncio import aiodn

Saúl Ibarra Corretgé 471 Dec 27, 2022
With Py-Autocrack you can crack WPA2 networks in no time.

With Py-Autocrack you can crack WPA2 networks in no time. All based on Aircrack-ng and Crunch.

Paul - FloatDesign 1 Dec 10, 2021
Linux SBC featuring two wifi radios, masquerading as a USB charger.

The WiFiWart is an open source WiFi penetration device masquerading as a regular wall charger. It features a 1.2Ghz Cortex A7 MPU with two WiFi chips onboard.

Walker 151 Dec 26, 2022
IP-Escaner - A Python Tool to obtain information from an IP address

IP-Escaner Herramienta para obtener informacion de una direccion IP Opciones de

4 Apr 09, 2022
Out-of-box Python RPC framework

typed-jsonrpc Out-of-box Python RPC framework. WIP. Make LSP easy for everyone. The conception of final usage: from typed_jsonrpc import * ls = Langu

Taine Zhao 4 Dec 28, 2021
Socket Based Backdoor and Listener

The Project is mainly based on Sockets , File Handling and subprocess library for Creating backdoors For Hacking into one's Computer (Any OS-Platform Service) and listening on your computer and waiti

Shivansh Mehta 3 May 31, 2021
QUIC and HTTP/3 implementation in Python

aioquic What is aioquic? aioquic is a library for the QUIC network protocol in Python. It features a minimal TLS 1.3 implementation, a QUIC stack and

1.2k Dec 29, 2022