Skip to main content

Apex-x is a project to create a new project by using a blueprint for ANY LANGUAGE!

Project description

Apex-X

What is Apex-X?

Apex is a simple and lightweight project to create a new project by using a blueprint for ANY LANGUAGE! Apex find all tags and variables in the blueprint and replace them with the values that you provide.
You need know the syntax of the tags and variables to use Apex correctly in your blueprint.

How to use Apex-X?

You can install it with pip:

pip install apexx

After install the Apex-X, you can use it in your terminal:

apexx path/to/blueprint

After that, Apex will ask you for selecting the tags and the values of variables in the blueprint.

Apex-X Syntax

tags in blueprint

Tag is a section of code that labeled with a name. You can use tags in your blueprint to customize the blueprint for your project.
The syntax of the tag in file is:

def func_one():
    pass

# @apex:tag_name:tag
def func_two():
    pass
# @apex:end

You can specify the tag name in comment with @apex:tag_name:tag. To end the tag section, you can use @apex:end in the comment. Apex will find the tag section and asking you that want this section or not.
If you want to use tag for just file or folder, you can use the tag syntax in the file or folder name.

|
|--- file_name@apex:tag_name:tag
|
|--- folder_name@apex:tag_name:tag
    |
    |--- file_name

variables in blueprint

To use variables in the blueprint, you can use the syntax below:

def func_one():
    print("@apex:variable_name:var")

For declaring a variable anywhere in the blueprint, you just need write @apex:variable_name:var. Apex will find the variable and asking you for the value of the variable.

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

apexx-0.0.2.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

apexx-0.0.2-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file apexx-0.0.2.tar.gz.

File metadata

  • Download URL: apexx-0.0.2.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for apexx-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f61c30c9a21060b3c413473da6558faf850ed696b4ed970ace191f248ea5f4b4
MD5 21a0eb749baa28e508df301e5c32d339
BLAKE2b-256 f424be60ae8e6a019ef57d253a464d7984389a2ddd9c95d3839c11f78ae7df41

See more details on using hashes here.

File details

Details for the file apexx-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: apexx-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for apexx-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 332aac746df635c164bc6c6d91a4bc62d77cb713df69087554f3f62a8245800c
MD5 f5a2020ef1d532b054bd9eebeb05c6c6
BLAKE2b-256 aaab79a7f45c89e9e5a5620dd9b239d9ae6b5962f2f48bc408425bef21440688

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