Skip to main content

A python based Plugin, Entity Component System (ECS) architecture designed with Business Specifications in mind. This package allows you to easily set up and use existing systems and components.

Project description

BSPEC

BSPEC: A python based Plugin, Entity Component System (ECS) architecture designed with Business Specifications in mind. This package allows you to easily set up and use existing systems and components. Write custom systems and components that can be dynamically loaded. Its minimal dependencies and extensions make it ideal for projects that use Python 3.

Status of the project

The BSPEC is still under initial development and is being tested with the Python 3.9.6 version.

The BSPEC will follow semantic versioning for its releases, with a {MAJOR}.{MINOR}.{PATCH}{PYTAGNUM} scheme for versions numbers, where:

  • MAJOR versions might introduce breaking changes
  • MINOR versions usually introduce new features and might introduce deprecations
  • PATCH versions only introduce bug fixes
  • PYTAGNUM PYTAG + NUM (no white-space in between), Tags are converted to a short form (-alpha -> a0)

Overview

Requirements

Python

  • Download and install Python (suggested 3.9.6) if you do not already have it installed.
    • Ensure pip is installed (pip should be installed already because it comes with the latest versions of python) in case it is not, please install it from here: https://pip.pypa.io/en/stable/installing/
      • To check if pip is installed, you can run the following command in your terminal
python -m pip --version

Setup

Windows

  • Open new terminal
    • "Windows-Key + R" will show you the 'RUN' box
    • Type "cmd" to open the terminal
cd <Path To>/my_awesome_project

python -m venv venv

venv\Scripts\activate

Linux / Mac

  • Open new terminal
    • "Control + Option + Shift + T" to open the terminal
cd <Path To>/my_awesome_project

python -m venv venv

source venv/bin/activate

Dependencies

Once you have installed Python and pip and activated your environment, you will need to install a dependency for the any plugins:

pip install --no-cache-dir -r requirements.txt

bumpver init

Quickstart

Windows

  • Open new terminal
    • "Windows-Key + R" will show you the 'RUN' box
    • Type "cmd" to open the terminal
pip install BSPEC

Linux / Mac

  • Open new terminal
    • "Control + Option + Shift + T" to open the terminal
pip install BSPEC

Changes to Repo

Windows

  • Open new terminal
    • "Windows-Key + R" will show you the 'RUN' box
    • Type "cmd" to open the terminal
bumpver update --minor

Linux / Mac

  • Open new terminal
    • "Control + Option + Shift + T" to open the terminal
bumpver update --minor

Note: BumpVer integrates with your version control system. It’ll refuse to update your files if you have uncommitted changes in your repository.

You can change different versions with different key words:

Note: test lets you see what the changes to a given version string would look like

bumpver test '1.2.3' 'MAJOR.MINOR.PATCH[PYTAGNUM]' --major
New Version: 2.0.0

bumpver test '1.2.3' 'MAJOR.MINOR.PATCH[PYTAGNUM]' --minor
New Version: 1.3.0

bumpver test '1.2.3' 'MAJOR.MINOR.PATCH[PYTAGNUM]' --patch
New Version: 1.2.4

bumpver test '1.2.3' 'MAJOR.MINOR.PATCH[PYTAGNUM]' --patch --tag=beta
New Version: 1.2.4b0

bumpver test '1.2.4b0' 'MAJOR.MINOR.PATCH[PYTAGNUM]' --tag-num
New Version: 1.2.4b1

To do this on a commit version, remove test, the number e.g. '1.2.3' and the structure format 'MAJOR.MINOR.PATCH[PYTAGNUM]' resulting in:

bumpver update --patch

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

BSPEC-0.1.10.tar.gz (28.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

BSPEC-0.1.10-py3-none-any.whl (36.0 kB view details)

Uploaded Python 3

File details

Details for the file BSPEC-0.1.10.tar.gz.

File metadata

  • Download URL: BSPEC-0.1.10.tar.gz
  • Upload date:
  • Size: 28.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.6

File hashes

Hashes for BSPEC-0.1.10.tar.gz
Algorithm Hash digest
SHA256 7941c1b6ae838025b3a5bdc1d0acee9aeabd122c4123eef1b266cbfaf4da6b92
MD5 ba077cb97bcdfa618304f7ddec9c2fb0
BLAKE2b-256 5b646f6cf618a9b531b05b2a90de2af31251f13e45a3478d297534d0df4c8e20

See more details on using hashes here.

File details

Details for the file BSPEC-0.1.10-py3-none-any.whl.

File metadata

  • Download URL: BSPEC-0.1.10-py3-none-any.whl
  • Upload date:
  • Size: 36.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.6

File hashes

Hashes for BSPEC-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 536efecd7d6cf8fda314d69c83cc44a8e174444242f72b9a3a1e9bdc550a7811
MD5 846fc1189708d63ea88611814921ceef
BLAKE2b-256 fd85aa7ee43bb5a7f265bbf03cb0285d407c2a6ef33268a52808464d911c015f

See more details on using hashes here.

Supported by

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