Skip to main content

How to use

  1. Create conf package
  2. Create conf/config.py // Optional
  3. Create conf/config_deploy.py // Optional
  4. Add logging.yaml in conf // We have a default config, the logger file will write into logs directory as name main.log

File Tree

│   main.py
├───conf
│   │   config.py
│   │   config_deploy.py
│   │   logging.yaml
│   │   __init__.py
└───logs
        main.log
import cuefig
from cuefig import logger

if __name__ == '__main__':
    logger.info("hi")
    print(f"username in conf/config.py: {cuefig.USERNAME}")
    print(f"password override in conf/config_deploy.py: {cuefig.PASSWORD}")
    print(f"Path var: {cuefig.ROOT_DIR}")

img.png

  • Here you can see, the config variable be cue as in very fast way.

How to upload

python setup.py deploy

Metadata

Release files for cuefig 0.0.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cuefig 0.0.14
File Size Uploaded
cuefig-0.0.14.tar.gz 68.5 kB Details

Release files / cuefig-0.0.14.tar.gz

Download URL cuefig-0.0.14.tar.gz
Size 68.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e61f12403b890de81ef982e28f7e03034987678299e737a185c52dfcce5046de
BLAKE2b-256 checksum
How to use checksums
b1841d346f992f24e1b5c5736ff54d00b16d80125e60431e4f7f6d8dc135bbed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/1.5.0 colorama/0.4.4 CPython/3.9.5

Release history Release notifications | RSS feed

This release

0.0.14 This release

1 release file

0.0.13

1 release file

0.0.12

1 release file

0.0.11

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.8

1 release file

0.0.7

1 release file

0.0.6

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page