Python definitions for a basic Log Service
Project description
Creating a new set of python proto classes
- Create a venv (py > 3.5 ish)
- Install dependencies (see
requirements.txt).- TODO: this file has WAY more dependencies than it should. Clean it up.
- 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.
- 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
- Update the
setup.cfgfile with any changes (such as new version number) - Generate the build
python3 -m build
- Make sure that the files in
dist/reflect what you want to release. Often timessetup.cfghas errors in it and that causes issues like files being omitted from the dist folders.
Publish to Test Pypi repo
-
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 -
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
-
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 -
You can install the package (in other projects) with:
pip install jocampo-log-service-proto
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0e256d9ad7a69ef567d84208ea368b2ce822102604578cff0265021f329757c3
|
|
| MD5 |
eb7e8ec4e5b0d7c427014e0192d22ead
|
|
| BLAKE2b-256 |
59187f94be6ed768071f31881cacb439e5e10e404279f59285cab230fb84ca1c
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4848b6ecac12b47e64d2bf97459fbb18360eca11caed978fe258235a9193d487
|
|
| MD5 |
7ce2b600574291eaede9b582df721888
|
|
| BLAKE2b-256 |
ed66bab77dc7c4444361049e1b37c8aadc4c0cf43b43e119f3fb101ec620db28
|