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
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
Slowloris is basically an HTTP Denial of Service attack that affects threaded servers.

slowrise-ddos-tool What is Slowloris? Slowloris is basically an HTTP Denial of S

DEMON cat 4 Jun 19, 2022
Library containing the core modules for the kingdom-python-server.

🏰 Kingdom Core Library containing the core modules for the kingdom-python-server. Installation Use the package manager pip to install kingdom-core. p

T10 4 Dec 27, 2021
WebRTC and ORTC implementation for Python using asyncio

aiortc What is aiortc? aiortc is a library for Web Real-Time Communication (WebRTC) and Object Real-Time Communication (ORTC) in Python. It is built o

3.2k Jan 07, 2023
BLE parser for passive BLE advertisements

This pypi package is parsing BLE advertisements to readable data for several sensors and can be used for device tracking, as long as the MAC address is static. The parser was originally developed as

Ernst Klamer 19 Dec 26, 2022
msgspec is a fast and friendly implementation of the MessagePack protocol for Python 3.8+

msgspec msgspec is a fast and friendly implementation of the MessagePack protocol for Python 3.8+. In addition to serialization/deserializat

Jim Crist-Harif 414 Jan 06, 2023
Edge static generator. Also Edge means: the outside limit of an object, area, or surface.

Edge Edge is a new static generator. Edge is onworking. Do not clone or do any changes. No P.R will be merged Also Edge means: the outside limit of an

AmirHossein Mohammadi 12 Jan 16, 2022
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

Oxen 36 Jan 02, 2023
OpenNeoMC:an Open-source Tool for Particle Transport Optimization that Combining OpenMC with NEORL

OpenNeoMC:an Open-source Tool for Particle Transport Optimization that Combining OpenMC with NEORL OpenMC is a community-developed Monte Carlo neutron

7 Aug 17, 2022
These scripts send notifications to a Webex space when a new IP is banned by Expressway, and allow to request more info or change the ban status

Spam Call and Toll Fraud Mitigation Cisco Expressway release X14 is able to mitigate spam calls and toll fraud attempts by jailing the spam IP address

Luca Pellegrini 6 Aug 05, 2022
The AKS cluster provisioner provisions AKS clusters :-)

Overview The AKS cluster provisioner provisions AKS clusters :-) It uses the Azure CLI to configure VNet and subnets before creating the cluster itsel

Gigi Sayfan 1 Nov 10, 2021
Ip-Seeker - See Details With Public Ip && Find Web Ip Addresses

IP SEEKER See Details With Public Ip && Find Web Ip Addresses Tool By Heshan

M.D.Heshan Sankalpa 1 Jan 02, 2022
the objective of this project is to create a Node Js server with a Python client

Socket.io-Server-client Objective The objective of this project is to send data real time ,we use socket.io(server, client) on this project Server Nod

Reda Ennakouri 5 Mar 07, 2022
Network-Shredder is a python based NIDS.

Network-Shredder is a python based NIDS.

Oussama RAHALI 9 Dec 13, 2022
Learn how modern web applications and microservice architecture work as you complete a creative assignment

Micro-service Создание микросервиса Цель работы Познакомиться с механизмом работы современных веб-приложений и микросервисной архитектуры в процессе в

Григорий Верховский 1 Dec 19, 2021
TicTacToe using Socket Server

TicTacToe using Socket Server This is a project for the class : 18CSC302J - Computer Networks by Dr. S.Babu Contributors Suvodeep Sinha RA191100301010

Suvodeep Sinha 12 Nov 30, 2022
Uses machine learning to scan the similarity of two texts

PlagiarismChecker Uses machine learning to scan the similarity of two documents. End Points: http://localhost:3000/register (create a/c) http://localh

Elvis Chege 2 Aug 10, 2022
Home Assistant integration for MyEnergi devices

myenergi for Home Assistant myenergi custom component for Home Assistant This is a very early release, will add more documentations soon! This compone

Johan Isacsson 70 Dec 18, 2022
Equibles Stocks API for Python

Equibles Stocks API for Python Requirements. Python 2.7 and 3.4+ Installation & Usage pip install If the python package is hosted on Github, you can i

Equibles 3 Apr 15, 2022
A Simple but Powerful cross-platform port scanning & and network automation tool.

DEDMAP is a Simple but Powerful, Clever and Flexible Cross-Platform Port Scanning tool made with ease to use and convenience in mind. Both TCP

Anurag Mondal 30 Dec 16, 2022