Skip to main content

The Plugin Oriented Programming System

Project description

Pop is used to express the Plugin Oriented Programming Paradigm. The Plugin Oriented Programming Paradigm has been designed to make pluggable software easy to write and easy to extend.

Plugin Oriented Programming presents a new way to scale development teams and deliver complex software. This is done by making the applications entirely out of plugins, and also making the applications themselves natively pluggable with each other.

Using Plugin Oriented Programming it then becomes easy to have the best of both worlds, software can be build in small pieces, making development easier to maintain. But the small pieces can then be merged and deployed in a single binary, making code deployment easy as well.

All this using Python, one of the world’s most popular and powerful programming language.

Getting Started

A more complete Getting Started Guide is available inside of the documentation for pop. The best place to start is in the doc’s Getting Started Guide found here:

https://pop.readthedocs.io

First off, install pop from pypi:

pip3 install pop

Now that you have pop, use the tool that pop ships with to bootstrap your project! This tool is called pop-seed and it will make your Python project boiler plate for you!

mkdir poppy
cd poppy
pop-seed poppy

Now you have a setup.py file will detect changes to you project and “Just Work”. Feel free to open it up and fill in some of the blank places, like author name, description, etc. The pop-seed program also made your first directories, your run.py startup script, everything you need to install your project and the pop conf.py file used to load in configuration. Running pop-seed also made a few other files, but nothing to worry about now.

Congratulations! You have a pop project! Now you can run the project:

python3 run.py

With a project up and running you can now add more plugins, more code and more plugin subsystems!

What Happened?

Take a look at the poppy/poppy/init.py file, your little run.py script created the hub, loaded your first plugin subsystem, poppy and called the run function therein. This is the starting point for your app.

Next dive into the pop documentation, we will take you through how to think in Plugin Oriented Programming, helping you see a new way to write code that is more flexible and dynamic than anything you have seen before!

Single Binary

In the first few sentences of this document I promised you a single binary! This is easy to do! Just pip install tiamat:

pip install tiamat
tiamat -n poppy

This will build a single binary of your program! If something goes wrong it is most likely because PyInstaller does not support the latest version of Python yet. To fix this you can usually just run tiamat with the –dev-pyinst to build the binary with the latest development snapshot of PyInstaller.

Documentation

Check out the docs at:

https://pop.readthedocs.io

There is a much more in depth tutorial here, followed by documents on how to think in Plugin Oriented Programming. Take your time to read it, it is not long and can change how you look at writing software!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pop-13.1.tar.gz (44.6 kB view details)

Uploaded Source

Built Distribution

pop-13.1-py3-none-any.whl (56.9 kB view details)

Uploaded Python 3

File details

Details for the file pop-13.1.tar.gz.

File metadata

  • Download URL: pop-13.1.tar.gz
  • Upload date:
  • Size: 44.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.1 CPython/3.8.5

File hashes

Hashes for pop-13.1.tar.gz
Algorithm Hash digest
SHA256 9dba019a9a3d6d8bb4047ff23a6a6aecd79a227d1d45fd85d0a64c90c3e639a3
MD5 91ecb6ab0e3706b0419ce3a0741b8b0c
BLAKE2b-256 85705296b7487265f9b7367054feb481943dec1d3f935de3fd73a7707fd3af57

See more details on using hashes here.

File details

Details for the file pop-13.1-py3-none-any.whl.

File metadata

  • Download URL: pop-13.1-py3-none-any.whl
  • Upload date:
  • Size: 56.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.48.1 CPython/3.8.5

File hashes

Hashes for pop-13.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee3324d115549c6b98f89e5ee379277b19a878b16b2bde99a83cfcb793155db7
MD5 66e6ccf905277e44f8967c309fcccffb
BLAKE2b-256 762144eae1f1ff4bdfa3c0cb7485efcccd3d191c022447f9eece04d3c73adaab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page