Package to print out messages to user.
Project description
About
The purpose of this library is to provide a logger for my other projects. It also is acting as a learning process for publishing a python module.
TODO:
sort out the proper file / function printing
Messages Package
This is a package that can be included in projects to output messages
Example logging REPO: https://github.com/srtamrakar/python-logger/tree/master
Installation Process:
1. Write the module
- Follow this tutorial: https://packaging.python.org/en/latest/tutorials/packaging-projects/
2. Build module
- python3 -m pip install --upgrade build
- python3 -m build
3. Upload module to pypi to be installed: https://packaging.python.org/en/latest/tutorials/packaging-projects/
- python3 -m pip install --upgrade twine
Repository structure
.gitignore
.venv
bin
activate...
pip
pip3
pip3.11
python
python3
python3.11
include
python3.11
...
lib
python3.11
...
pyenv.cfg
dist
phootlogger-0.0.1-py3-none-any.whl
phootlogger-0.0.1.tar.gz
LICENSE
pyproject.toml
setup.py
src
phootlogger
__init__.py
__pycache__
logger.py
phootlogger.egg-info
demo.py
README.md
requirements.txt
tests
<pip install .>
installs: tar under the 'dist' creates .egg-info
Needed files: setup.py LICEANSE README
Layouts: flat-layouts:
src-layout:
Questions: setup.cfg:
setup.py:
Instructions to build software. Maybe some configuration options like computing test coverage or unit tests or
the install prefix.
pyproject.toml:
Specifies the project's metadata.
Used to replace .cfg, but formats everything in TOML. ( Tom's Obvious, Minimal Language: https://en.wikipedia.org/wiki/TOML )
You can put "Abstract Dependancies" here, but not pinned dependencies. Pinned ones belong in the requirements.txt
requirements.txt:
Not the same thing as setup.cfg. Needed for a different reason. This is typically used for deploymnet with
version pinned dependencies. The reason is so you don't get the latest and greatest, and only get the version
you know you have explicitley tested.
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
phootlogger-0.0.1.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for phootlogger-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 300c24708b6745eec3fa95e283b52381ca12a01a4e0c1e5302bdb62cf95ed499 |
|
MD5 | 1dafade3e1a8cdbf88899a1aebf44e1c |
|
BLAKE2b-256 | 1f32fe2a7dd5afcfd6469df4fde9b7d447cf09cb39c4d8fb76d3b6741141f97d |