Code example
Project description
example-code
This repository and code is intended to be a guide on how Python code in github.com/equinor/ops-py-* repositories should be written, documented and distributed.
The file structure in the repo should be like in this ops-py-example-code
repo:
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 simple_service.py
and to Documenting Python Code: A Complete Guide
To write proper and understandable code, for you and for others to read, please also refer to How to Write Beautiful Python Code With PEP 8
How to build and distribute the code
Please refer to the following 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
Close
Hashes for ops-py-example-code-1.3.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 908c6d1e235cb74d31edd357515c72e68706da8719b05716cb1872a91155a6f1 |
|
MD5 | 59972a6d42c33ab28a047ba76ffa1e25 |
|
BLAKE2b-256 | f8e7b5bfaf443b8178cc464e3ee029b23e1b0605c65152ac66e42e0bece14648 |
Close
Hashes for ops_py_example_code-1.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a10c8c524e58e1633a1a4bc4176796e038340595d0bce26dc6e473300f97d2bd |
|
MD5 | 6b1d150b6d61e5d21ec9fbda3585c727 |
|
BLAKE2b-256 | 1422c99e05374722e6e91149c9dd4a860c5712ad8e1ef2debcc7772393ab350b |