Skip to main content

A set of resources and tools to help developers create packages for the Area28 application.

Project description

Developer Toolkit

Developer Toolkit providing developers with the tools and documentation necessary to build packages for the Area28 Application.

Python version

Area28 follows the VFX Reference Platform which restricts Python to 3.7.x currently.

Interfaces

  • IPlugin
  • IApiExtension
  • IApplicationExtension
  • IChatExtension
  • IEventExtension
  • IInteractionExtension
  • ILoggerExtension
  • IMetadataExtension
  • IPreferencesExtension
  • IRealtimeExtension
  • IUiExtension
  • IUnitsExtension

Plugins

Plugins are decorators that can be used to manipulate the payload before being processed or before getting returned.

Extensions

Extension are used to add additional functionality to the Area28 application. Extensions are broken up into multiple types, defined within the Interfaces list.

Packaging

Each package has a unique identifier associated with it and is compressed into a .a28 file. Please look at the a28 development kit for details.

Package structure

@{provider}
|-- {package}
    |-- extensions
    |   |-- {extensions[]}.py
    |-- scripts
    |   |-- install.py
    |   |-- postinstall.py
    |   |-- preinstall.py
    |   |-- uninstall.py
    |-- plugin
    |   |-- {application specific plugin}
    |-- plugins
    |   |-- {plugin[]}.py
    |-- bin
    |   |--{executable[]}.py
    |-- package.json

Package.json structure

{
    "name": "@area28/unity-application",
    "version": "0.0.4",
    "description": "Detect is running within Unity3D.",
    "homepage": "https://area28.io",
    "keywords": [
        "area28",
        "chat",
        "lowercase",
        "transform"
    ],
    "repository": {
        "type": "git",
        "url": "git+https://github.com/area28/area28.git",
        "directory": "packages/unity-application"
    },
    "author": "Gary Stidston-Broadbent",
    "license": "MIT",
    "bugs": {
        "url": "https://github.com/area28/area28/issues"
    },
    "bin": {
        "myapp": "./bin/lowercase.py"
    },
    "os": [
        "darwin",
        "linux"
    ],
    "cpu": [
        "x64",
        "ia32",
        "!mips"
    ],
    "scripts": {
        "preinstall": "scripts/preinstall.py",
        "install": "scripts/install.py",
        "postinstall": "scripts/postinstall.py",
        "uninstall": "scripts/uninstall.py"
    }
}

Authenticate with A28

  • a28 account authenticate -u my.email@example.com

Initialize a new package

  • a28 package init --scope my-company --name powerful-plugin --type app my/folder

This will generate a package.json and the folder structure in the given folder ('my/folder')

Building a package

  • a28 package build --src @area28/chat-logger --dest dist

This will generate the .a28 package in dist/

Installing a package locally

  • a28 package install --pkg dist/00000000-0000-0000-0000-00000000-0.0.1.a28

Publish a package

  • a28 package publish --pkg dist/00000000-0000-0000-0000-00000000-0.0.1.a28

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

a28-1.0.2.tar.gz (36.6 kB view details)

Uploaded Source

Built Distribution

a28-1.0.2-py3-none-any.whl (20.3 kB view details)

Uploaded Python 3

File details

Details for the file a28-1.0.2.tar.gz.

File metadata

  • Download URL: a28-1.0.2.tar.gz
  • Upload date:
  • Size: 36.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.7.12 Linux/5.11.0-1020-azure

File hashes

Hashes for a28-1.0.2.tar.gz
Algorithm Hash digest
SHA256 8d15b5e9b21e2d988599cd2e06b1499fdd02689ed78918398e185ecfc822b772
MD5 b74d0b5b57d1006fdc3ee9899ca7cc34
BLAKE2b-256 40ab346955d85cab12c97eabffc013d62efb86b9ef99202f105bcdcfe4d93198

See more details on using hashes here.

File details

Details for the file a28-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: a28-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 20.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.7.12 Linux/5.11.0-1020-azure

File hashes

Hashes for a28-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f9a8f2a7724794ba9a933aff9ffd74354f18e4d93023042693433d34812022ba
MD5 4583b08c393a061b16d339804ccabbcc
BLAKE2b-256 f6ae20c53ca2f78385bee87eec5c8c404cfaa5092c7d88306c6da95b859ac2e3

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