Code example
Project description
example-code
This example code is simply to demonstrate how Open Source Python code should be written, documented and structured.
The file structure should be organized as of the following:
src/
├─ requirements.txt
├─ simple_service/
│ ├─ __init__.py
│ ├─ simple_service.py
README.md
LICENSE
How the code should be written and documented
The code should include comments and proper documentation. Use Docstrings
Please refer to the documentation in the simple_service.py
file of this package and to Documenting Python Code: A Complete Guide.
To write proper and understandable code, for you and for others to read, you may also refer to How to Write Beautiful Python Code With PEP 8
How to build and distribute the code
Please refer to the ops-py-generate-pyproject documentation.
...
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
File details
Details for the file ops_py_example_code-1.3.10.tar.gz
.
File metadata
- Download URL: ops_py_example_code-1.3.10.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 205708e7340a6f0ed7bdd14ae2bb8e2756d10196d3e1e874ae429870851d7582 |
|
MD5 | ac4a1c7e21675665f02f7ec41e4ba241 |
|
BLAKE2b-256 | 6380f064413101b5e327d3d4146bd921930502022b7a8c81c958bb0894d5f2ef |
Provenance
The following attestation bundles were made for ops_py_example_code-1.3.10.tar.gz
:
Publisher:
build_pypi.yml
on equinor/ops-py-example-code
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ops_py_example_code-1.3.10.tar.gz
- Subject digest:
205708e7340a6f0ed7bdd14ae2bb8e2756d10196d3e1e874ae429870851d7582
- Sigstore transparency entry: 151643031
- Sigstore integration time:
- Predicate type:
File details
Details for the file ops_py_example_code-1.3.10-py3-none-any.whl
.
File metadata
- Download URL: ops_py_example_code-1.3.10-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65bbfcd477570776b7d3b175b954ba1abfde3048b74f2ed76e93b3e5b5be30a4 |
|
MD5 | 6cb2af37703744d26e79bf194fe66dbe |
|
BLAKE2b-256 | 8115404cd2173dcfc5968b73dfa487bd701b3f8117a514407a8cda60f2c9d2f8 |
Provenance
The following attestation bundles were made for ops_py_example_code-1.3.10-py3-none-any.whl
:
Publisher:
build_pypi.yml
on equinor/ops-py-example-code
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
ops_py_example_code-1.3.10-py3-none-any.whl
- Subject digest:
65bbfcd477570776b7d3b175b954ba1abfde3048b74f2ed76e93b3e5b5be30a4
- Sigstore transparency entry: 151643032
- Sigstore integration time:
- Predicate type: