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
Azure-function-proxy - Basic proxy as an azure function serverless app

azure function proxy (for phishing) here are config files for using *[.]azureweb

17 Nov 09, 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
The World Most Fastest Proxy Checker In Python, Maybe?!

The World's Most Fastest Proxy Checker In Python, Maybe?! Features Based on Python 3.7+ Save Valid Porixes into the custom file Multi-Thread Fully Asy

Cyber 4 Feb 10, 2022
Heroku Cloudflare App Domain

Heroku Cloudflare App Domain Creating branded herokuapp.com-like domains using Cloudflare, based on the app name (eg my-app-prod.example.com). Feature

Torchbox 2 Oct 04, 2022
This is a simple python code to get the list of banned IP addresses from Fail2ban

Fail2ban Scripts Usage banned_list.py This script tries to get the banned list of IP addresses by Fail2ban for the service freeswitch. You can modify

Yehor Smoliakov 9 Dec 28, 2022
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
GhostVPN - Simple and lightweight TUI application for CyberGhostVPN

GhostVPN Simple and lightweight TUI application for CyberGhostVPN. Screenshot Us

Mehmet Ali KERİMOĞLU 5 Jul 27, 2022
Autopen is a very modular tool that automates the execution of scans during a penetration test.

Autopen Autopen is a very modular tool that automates the execution of scans during a penetration test. A Nmap scan result in the form of an XML file

2 Dec 22, 2021
9SPY: a Windows RAT built in Python using sockets

9SPY 👁‍🗨 9SPY is a Windows RAT built in Python using sockets Features Features will be listed here soon, there are currenly 14 Information This is a

doop 12 Dec 01, 2022
Send files to your friends over network! (100mb max)

PyServed v2.0.1 Made by Shaurya Pratap Singh Installation Using pip(for stable releases.) - $ pip install pyserved Using Git (for latest updates) -

Sblip.dev 4 Mar 22, 2022
(A)sync client for sms.ru with pydantic responses

🚧 aioSMSru Send SMS Check SMS status Get SMS cost Get balance Get limit Get free limit Get my senders Check login/password Add to stoplist Remove fro

Eugene Mayer 4 Jul 03, 2022
A simple Tor switcher script switches tor nodes in interval of time

Tor_Switcher A simple Tor switcher script switches tor nodes in interval of time This script will switch tor nodes in every interval of time that you

d4rk sh4d0w 2 Nov 15, 2021
Qobuz-rpc - A simple discord rich presence client for qobuz written in Python

qobuz-rpc A simple discord rich presence client for qobuz written in Python It's

Raphael O. 13 Dec 15, 2022
MoreIP 一款基于Python的面向 MacOS/Linux 用户用于查询IP/域名信息的日常渗透小工具

MoreIP 一款基于Python的面向 MacOS/Linux 用户用于查询IP/域名信息的日常渗透小工具

xq17 9 Sep 21, 2022
DEMO SOCKET AF INET SSL PYTHON

DEMO_SOCKET_AF_INET_SSL_PYTHON Python demo of socket family as AF_INET using TCP with SSL. Compatibility : macOS & GNU/Linux Network Topology style :

Enola 1 Jan 24, 2022
Roadster - Distance to Closest Road Feature Server

Roadster: Distance to Closest Road Feature Server Milliarium Aerum, the zero of

Textualization Software Ltd. 4 May 23, 2022
Tool to get the top 100 of the fastest nodes in the Tor network. Based on Kirzahk tool.

Tor Network Top 100 IPs Tool to get the top 100 of the fastest nodes in the Tor network. Based on Kirzahk tool. Just execute top100ipstor.py to get th

Juan Manuel 0 Jan 23, 2022
Visualize the electric field of a point charge network.

ElectriPy ⚡ Visualize the electric field of a point charges network. 🔌 Installation Install ElectriPy package: $ pip install electripy You are all d

Dylan Tintenfich 29 Aug 29, 2022
Multiple-requests-poster - A tool to send multiple requests to a particular website written in Python

Multiple-requests-poster - A tool to send multiple requests to a particular website written in Python

RLX 2 Feb 14, 2022
Client library for relay - a service for relaying server side messages to the client side browsers via websockets.

Client library for relay - a service for relaying server side messages to the client side browsers via websockets.

getme 1 Nov 10, 2021