Skip to main content

Python definitions for a basic Log Service

Project description

Creating a new set of python proto classes

  1. Create a venv (py > 3.5 ish)
  2. Install dependencies (see requirements.txt).
    1. TODO: this file has WAY more dependencies than it should. Clean it up.
  3. In this folder (python/), run:
python ./compileProto.py
  • Output should be in the log_service_proto/ folder

Creating a new build

See this post for more notes and examples about the packaging process.

  1. Install the required dependencies (they don't need to be in the venv):
    python -m pip install --user --upgrade setuptools wheel build
    python -m pip install --user --upgrade twine
    
  2. Update the setup.cfg file with any changes (such as new version number)
  3. Generate the build
    python3 -m build
    
  4. Make sure that the files in dist/ reflect what you want to release. Often times setup.cfg has errors in it and that causes issues like files being omitted from the dist folders.

Publish to Test Pypi repo

  1. Upload the dist files to TestPypi

     python3 -m twine upload --repository testpypi dist/*
    

    Note: In case your files contain old releases. These WILL try to get uploaded again. You can prevent that by adding the flag: --skip-existing

  2. You can install the package (in other projects) with:

    pip install -i https://test.pypi.org/simple/ jocampo-log-service-proto
    

Publish to the actual Pypi repo

  1. Upload the dist files to Pypi

     python3 -m twine upload dist/*
    

    Note: In case your files contain old releases. These WILL try to get uploaded again. You can prevent that by adding the flag: --skip-existing

  2. You can install the package (in other projects) with:

    pip install jocampo-log-service-proto
    

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

jocampo_log_service_proto-0.0.3.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

jocampo_log_service_proto-0.0.3-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file jocampo_log_service_proto-0.0.3.tar.gz.

File metadata

  • Download URL: jocampo_log_service_proto-0.0.3.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2

File hashes

Hashes for jocampo_log_service_proto-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0e256d9ad7a69ef567d84208ea368b2ce822102604578cff0265021f329757c3
MD5 eb7e8ec4e5b0d7c427014e0192d22ead
BLAKE2b-256 59187f94be6ed768071f31881cacb439e5e10e404279f59285cab230fb84ca1c

See more details on using hashes here.

File details

Details for the file jocampo_log_service_proto-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: jocampo_log_service_proto-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.2

File hashes

Hashes for jocampo_log_service_proto-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4848b6ecac12b47e64d2bf97459fbb18360eca11caed978fe258235a9193d487
MD5 7ce2b600574291eaede9b582df721888
BLAKE2b-256 ed66bab77dc7c4444361049e1b37c8aadc4c0cf43b43e119f3fb101ec620db28

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