GithubHelp home page GithubHelp logo

lib_path_tree's Introduction

lib_programname

Pypi Status license maintenance

Build Status Codecov Status Better Code Maintainability Code Coverage snyk security

Finding the name of the program from which a Python module is running can be trickier than it would seem at first

supports python 3.8 and possibly other dialects.

100% code coverage, mypy static type checking, tested under Linux, OsX, Windows and Wine, automatic daily builds and monitoring



Installation and Upgrade

From source code:

# normal install
python setup.py install
# test without installing
python setup.py test

via pip latest Release:

# latest Release from pypi
pip install lib_programname

# test without installing
pip install lib_programname --install-option test

via pip latest Development Version:

# upgrade all dependencies regardless of version number (PREFERRED)
pip install --upgrade git+https://github.com/bitranox/lib_programname.git --upgrade-strategy eager
# normal install
pip install --upgrade git+https://github.com/bitranox/lib_programname.git
# test without installing
pip install git+https://github.com/bitranox/lib_programname.git --install-option test

via requirements.txt:

# Insert following line in Your requirements.txt:
# for the latest Release:
lib_programname
# for the latest Development Version :
git+https://github.com/bitranox/lib_programname.git

# to install and upgrade all modules mentioned in requirements.txt:
pip install --upgrade -r /<path>/requirements.txt

via python:

# for the latest Release
python -m pip install upgrade lib_programname

# for the latest Development Version
python -m pip install upgrade git+https://github.com/bitranox/lib_programname.git

Basic Usage

import lib_programname
# this returns the fully resolved path to the launched python program
path_to_program = lib_programname.get_programname_fullpath()    # type: pathlib.Path

Requirements

following modules will be automatically installed :

## Project Requirements

Acknowledgements

  • special thanks to "uncle bob" Robert C. Martin, especially for his books on "clean code" and "clean architecture"
  • thanks to Dough Hellman for his article about that issue

Contribute

I would love for you to fork and send me pull request for this project. - please Contribute

License

This software is licensed under the MIT license

---

Changelog

0.1.0

2020-05-15: Initial public release

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.