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
Bittensor - an open, decentralized, peer-to-peer network that functions as a market system for the development of artificial intelligence

At Bittensor, we are creating an open, decentralized, peer-to-peer network that functions as a market system for the development of artificial intelligence.

Opentensor 169 Dec 30, 2022
๐Ÿ“จ Share files easily over your local network from the terminal! ๐Ÿ“จ

Fileshare ๐Ÿ“จ Share files easily over your local network from the terminal! ๐Ÿ“จ Installation #

Dopevog 11 Sep 10, 2021
Medusa is a cross-platform agent compatible with both Python 3.8 and Python 2.7.

Medusa Medusa is a cross-platform agent compatible with both Python 3.8 and Python 2.7. Installation To install Medusa, you'll need Mythic installed o

Mythic Agents 123 Nov 09, 2022
ANalyse is a vehicle network analysis and attack tool.

CANalyse is a tool built to analyze the log files to find out unique datasets automatically and able to connect to simple user interfaces suc

0xh3nry 87 Dec 18, 2022
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
Apple Store Stock Notifier monitors the availability of selected Apple devices in selected Apple stores, and sends you a notification when devices are available!

Apple Store Stock Notifier This software will immediately send you a notification via Telegram when one of your coveted Apple Devices is available in

Floris-Jan Willemsen 25 Dec 05, 2022
Ping Verification Python Script

Python Script Port Scanner Script WHAT IS IT? Port scanner script using Python. HOW IT WORKS Once the script has been executed, it will request the ta

AC 0 Dec 12, 2021
KoreaVPN - Create a VPN App for Mac Using Automator

VPN app ๋งŒ๋“ค๊ธฐ (a.k.a. KoreaVPN) VPN์„ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด ๋“ค์–ด๊ฐ€๋Š” 10์ดˆ์˜ ์‹œ๊ฐ„์„ ์•„๋ผ๊ณ , ๊ท€์ฐฎ์Œ์„ ์ตœ์†Œํ™” ํ•˜๊ธฐ ์œ„ํ•ด ํฌ๋กค๋ง

DongHee 6 Jan 17, 2022
This is an open project to maintain a list of domain names that serve YouTube ads

The YouTube ads blocklist project This is an open project to maintain a list of domain names that serve YouTube ads. The original project only produce

Evan Pratten 574 Dec 30, 2022
Converts Cisco formatted MAC Addresses to PC formatted MAC Addresses

Cisco-MAC-to-PC-MAC Converts a file with a list of Cisco formatted MAC Addresses to PC formatted MAC Addresses... Ex: abcd.efgh.ijkl to AB:CD:EF:GH:I

Stew Alexander 0 Jan 04, 2022
Throttle rTorrent on Plex stream Start/Stop

Dependencies Python 3.6+ Tautulli Script Setup Edit rtorrent_throttle.py and set rTorrent username, password and RPC2 url. Tautulli Setup Commum Scrip

4 Apr 25, 2022
Python Program to connect to different VPN servers autoatically using Windscribe VPN.

AutomateVPN What is VPN ? VPN stands for Virtual Private Network , it is a technology that creates a safe and encrypted connectionover a less secure n

Vivek 1 Oct 27, 2021
An HTML interface for finetuning the sync map output from aeneas

finetuneas 3.0 finetuneas is a simple HTML interface for fine tuning sync maps output by aeneas Version 3.0 Easier adjusting time: following cells wil

Firat ร–zdemir 50 Mar 12, 2022
This is the code repository for the USENIX Security 2021 paper, "Weaponizing Middleboxes for TCP Reflected Amplification".

weaponizing-censors Censors pose a threat to the entire Internet. In this work, we show that censoring middleboxes and firewalls can be weaponized by

UMD Breakerspace 119 Dec 31, 2022
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
Build surface water network for MODFLOW's SFR Package

Surface water network Creates surface water network, which can be used to create MODFLOW's SFR. Python packages Python 3.6+ is required. Required geop

Mike Taves 20 Nov 22, 2022
Interact remotely with the computer using Python and MQTT protocol ๐Ÿ’ป

Comandos_Remotos Interagir remotamento com o computador atravรฉs do Python e protocolo MQTT. ๐Ÿ’ป Status: em desenvolvimento ๐Ÿšฆ Objetivo: Interagir com o

Guilherme_Donizetti 6 May 10, 2022
A simple chat room using socket and threading for handle multiple connections.

โ€ข Socket Chat Room was a little project for socket study. It works with a server handling the incoming connections from the clients. Clients send encoded messages while waiting for others clients mes

Guilherme de Oliveira 2 Mar 03, 2022
A SOCKS proxy server implemented with the powerful python cooperative concurrency framework asyncio.

asyncio-socks-server A SOCKS proxy server implemented with the powerful python cooperative concurrency framework asyncio. Features Supports both TCP a

Amaindex 164 Dec 30, 2022
This is simple script that changes the config register of a cisco router over serial so that you can reset the password

Cisco-router-config-bypass-tool- This is simple script that changes the config register of a cisco router over serial so that you can bypass the confi

James 1 Jan 02, 2022