Skip to main content

Builds Neobuf Packages from Protobuf files using Protoplasm! :D

Project description

NeoBuilder

Builds Neobuf Packages from Protobuf files using Protoplasm! :D

Super Important Info

Neobuilder releases are NOT guaranteed to be backwards compatible with older versions of Protoplasm and trying to run Neobuilder built code in a Protoplasm release who's major and/or minor versions lag behind will more often than not just break.

A difference in the patch version should most often be fine, as should using a Protoplasm release that's one or more minor versions ahead of the Neobuilder used to build code.

Versioning

The versioning of Neobuilder and Protoplasm (major and minor versions) go hand in hand; i.e. when Protoplasm's major of minor versions bump, a new NeoBuilder should also be released with the same major and minor version, even if there's no actual code change needed in NeoBuilder to support whatever changed in Protoplasm.

Note that in order to simplify and ease this synchronous development, release and versioning, the NeoBuilder package for the latest Protoplasm should generally NOT be dependent on any new features added to that package, so that the NeoBuilder package can be built and released FIRST and it can build code for its corresponding Protoplasm version, withing having that latest version actually installed.

This is done in order to not create a circular dependency on features between the two but instead have NeoBuilder only depend on the previous version of Protoplasm, especially for its pre-release unit-tests, and instead allow Protoplasm to fully depend on the latest NeoBuilder for its unit-tests.

Useful info

Installing this package creates a command line executable called neobuild (or neobuild.exe in Windows) in Python's Scripts folder so you just run the neobuild command from a console.

Usage

Assuming you've got a package called sandbox and you're storing your protobuf files in a directory called proto and you want to spit out the build into the directory build just go:

neobuild sandbox 

Versioning Your Package

If you place a plain text file called VERSION in the root of your proto package (e.g. /proto/sandbox/VERSION from the example above) and skip any versioning parameters (the --major, -m, --patch and -p guys) Neobuilder will use that file for versioning.

The first line in the file should be the semantic version number x.y.z.a

More stuff

usage: neobuild [-h] [-m | -p] [-b [BUILDROOT]] [-v] package [protopath]

Builds neobuf packages with protoplasm.

positional arguments:
  package               Package name
  protopath             Path to the root of the protobuf files (default="./proto")

options:
  -h, --help            show this help message and exit
  -m, --major           Bump the major version number instead of the minor
  -p, --patch           Bump the patch version number instead of the minor
  -b [BUILDROOT], --buildroot [BUILDROOT]
                        Path to the root of the output build files (default="./build")
  -v, --verbose         Spits out DEBUG level logs

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

neobuilder-5.2.1.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

neobuilder-5.2.1-py3-none-any.whl (35.4 kB view details)

Uploaded Python 3

File details

Details for the file neobuilder-5.2.1.tar.gz.

File metadata

  • Download URL: neobuilder-5.2.1.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for neobuilder-5.2.1.tar.gz
Algorithm Hash digest
SHA256 7f05c86fe7d26b5172d379d9bc2ee10238282b467ac9af9489e068e7f17c7053
MD5 bedeafe26d1c2781e60fcbe121e0e047
BLAKE2b-256 ee5bc11392ae0ea7ee0fb25bdf20cd38e5eba08c5411b7684cdee64b6914b8a8

See more details on using hashes here.

File details

Details for the file neobuilder-5.2.1-py3-none-any.whl.

File metadata

  • Download URL: neobuilder-5.2.1-py3-none-any.whl
  • Upload date:
  • Size: 35.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for neobuilder-5.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 89d6f7fe541a0030c98db22567ef5f5e275e98d1ba0a268086802973c8c3cc48
MD5 dfcdd3ded71f6b40b67c10b941791f4f
BLAKE2b-256 4db37d733fe772a8172cfa6d8b9ba11262936bf266e0d89d958a8d5ecfe7643d

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