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 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 refer to How to Write Beautiful Python Code With PEP 8
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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40da357c5201c3fa0d9afa58cf9008e637f962b450c0fcb4bd21afd16b784284 |
|
MD5 | c1cc988628fd474338c4d2f43c249e44 |
|
BLAKE2b-256 | 67df4ee30b697effef63408837a09301b5a2b230903b7fe26e151905992c0a74 |
Close
Hashes for ops_py_example_code-1.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d85b786560bfd5d3e5fb15edcae85b513ffdabdf746e6cd98a812438df64ef73 |
|
MD5 | 63621e3d5cbbaeaa79fdfd20b40f0375 |
|
BLAKE2b-256 | 504ce1bceca6e60b938c88f22c7036f440712a0320204b6a9fac898f6ce2bba2 |