All Projects → hivesolutions → colony

hivesolutions / colony

Licence: other
Implementation of the colony specification for python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to colony

UT GameEventSystem
A flexible event system in Unreal Engine 4
Stars: ✭ 33 (+43.48%)
Mutual labels:  system, engine
Atscan
Advanced dork Search & Mass Exploit Scanner
Stars: ✭ 817 (+3452.17%)
Mutual labels:  system, engine
Jstarcraft Rns
专注于解决推荐领域与搜索领域的两个核心问题:排序预测(Ranking)和评分预测(Rating). 为相关领域的研发人员提供完整的通用设计与参考实现. 涵盖了70多种排序预测与评分预测算法,是最快最全的Java推荐与搜索引擎.
Stars: ✭ 324 (+1308.7%)
Mutual labels:  system, engine
Geotic
Entity Component System library for javascript
Stars: ✭ 97 (+321.74%)
Mutual labels:  system, engine
Gascontent
Repo to gather all Gameplay Ability System content for UE4
Stars: ✭ 398 (+1630.43%)
Mutual labels:  system, engine
java9-module-examples
a list of Java 9 module samples to dive into the modular world
Stars: ✭ 25 (+8.7%)
Mutual labels:  module, modularity
foreman column view
A simple Foreman plugin showcasing Deface for altering the Hosts view
Stars: ✭ 23 (+0%)
Mutual labels:  engine
ray engine
A toy raycasting engine in Go + Ebiten
Stars: ✭ 19 (-17.39%)
Mutual labels:  engine
hardware
Get CPU, Memory and Network informations of the running OS and its processes
Stars: ✭ 70 (+204.35%)
Mutual labels:  system
RandomProxyRuby
Tiny Library for get random proxy (free).
Stars: ✭ 16 (-30.43%)
Mutual labels:  module
puppetlabs-apt
Puppet module to help manage Apt
Stars: ✭ 215 (+834.78%)
Mutual labels:  module
Customer-Management-System-for-Coffee-Shops
𝐂𝐨𝐟𝐟𝐞𝐞 𝐒𝐡𝐨𝐩𝐬
Stars: ✭ 34 (+47.83%)
Mutual labels:  system
delphi3d-engine
A 3D-graphic and game engine for Delphi and Windows.
Stars: ✭ 52 (+126.09%)
Mutual labels:  engine
monitor
mac 实时网速监控 bandwidh monitor
Stars: ✭ 23 (+0%)
Mutual labels:  system
exengine
A C99 3D game engine
Stars: ✭ 487 (+2017.39%)
Mutual labels:  engine
WurfelEngineSDK
Isometric game engine. Open world, block/voxel based and sprite rendering.
Stars: ✭ 96 (+317.39%)
Mutual labels:  engine
Hack-System
[HackSystem/Hack System] 有趣而炫酷的模拟操作系统。An interesting and cool simulation operating system.
Stars: ✭ 35 (+52.17%)
Mutual labels:  system
lazy-load
🌅 Lazy Loading module for Nuxt 3
Stars: ✭ 30 (+30.43%)
Mutual labels:  module
icingaweb2-module-cube
Drill-down view for Icinga web 2 based on custom variables
Stars: ✭ 40 (+73.91%)
Mutual labels:  module
elk
A low footprint JavaScript engine for embedded systems
Stars: ✭ 1,458 (+6239.13%)
Mutual labels:  engine

Colony Framework

The Colony Framework is an open source plugin framework specification. Implementations of the specification offer a runtime component model, that allows for plugins to be installed, started, stopped, updated and uninstalled without requiring the application container to be stopped. The specification relies heavily on the Inversion of control principle, in order to make it easier for application components to discover and interact with each other.

Colony aims to eliminate the complexity typically associated with the creation of modular applications, through a simplified unified model for component development. Practical applications can range from modular enterprise software to application mashing.

Quick start

Handicraft

  • Install Colony using pip install colony
  • Run the command RUN_MODE=devel colony

Virtualenv

  • Start and activate the environment using virtualenv venv && source venv/bin/activate
  • Install Colony in the system using pip install colony
  • Deploy the console package using cpm install console_interface
  • Run your new colony using the command RUN_MODE=devel colony

Docker

  • Create a new directory to serve as base for the build mkdir colony && cd colony
  • Retrieve the Dockerfile from the repo using wget https://github.com/hivesolutions/colony/raw/master/assets/docker/Dockerfile
  • Create the new docker image using docker build --tag self/colony .
  • Execute colony with docker run -e RUN_MODE=devel -i -t self/colony

To actually do something useful look into How to Establish your Colony in 3 Easy Steps

Installation

For development

  • Set PYTHONPATH to the colony/src path so that the Python source files may be included
  • Set PATH to the colony/scripts/pypi to used the provided base scripts

For production

Usage

Most of the colony operation are run through the cpm command:

  • cpm clone <target> - clones the base colony instance into the target directory (new project)
  • cpm cleanup <target> - cleans the current instance removing extra files
  • cpm pack <target> - packs the current instance into a .zip file
  • cpm generate [target] <...> - generates a .json descriptor file for the provided Python file and then runs the build operation for the generated .json file, effectively build the package item
  • cpm build [descriptor] <...> - builds the target .json descriptor file into a package file
  • cpm deploy [package] - deploys the target .cbx file into the current instance
  • cpm info [package] - prints information about the package to the standard output
  • cpm install [name] <...> - installs the package with the provided name from the remote repositories
  • cpm upgrade - updates the complete set of packages deployed in the instance
  • cpm require [path] <...> - installs the complete set of packages defined in the requirements file
  • cpm upload [target] <repo> - generates a package for the provided path and then uploads it to the currently configured primary repository, or another repository if defined

Testing

In order to run the complete set of available tests for the deployment use either colony test or MODE=test colony and Colony Manager will boot directly to unit testing and exit in error in case at least one test fails.

Features

  • Runtime modularity.
  • No restart required for deploying new plugins, updating or reconfiguring existing ones.
  • Simplified component model (easy to create a plugin, even easier to combine existing ones).
  • Capabilities: simple extension points which allow your plugins to take advantage of future plugins which adhere to the capability API.
  • Dependencies: simplified dependency management, just declare the id of the plugin your plugin needs in order to function and the plugin manager will ensure your plugin only gets loaded when the conditions are met.
  • Most importantly, runs Colony Plugins.

And remember this is just the base runtime, to understand the kind of things you can do with Colony, browse the Colony Plugins repository.

Contributing

Although Colony is still in an early stage we're welcoming help for all kinds of work. The best ways to get involved:

  1. Join the mailing list.
  2. Send pull requests for bug fixes or new features and improvements.
  3. Help make the docs better.

Extensions

To find Python native extension required for some of the plugins used the following sites:

  • Python Imaging Library (PIL) link.
  • Reportlab PDF Generator link.
  • Unofficial Windows Binaries for Python Extension Packages link.
  • MySQL driver for Python link.

Project information

License

Colony is an open-source project currently licensed under the Apache License, Version 2.0.

Build Automation

Build Status Build Status GitHub Coverage Status PyPi Status License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].