Skip to content

maryami66/template_multi_level

Repository files navigation

Python Documentation Github LinkedIn


Constrained Gradient Boosting

Template Multi Level Python Package

About The Project

This is a template project for creating multi-level python package. For multi level python package, in each folder you should insert an empty __ini__.py. Then, in the main folder, you should import the package name (which is the same as main folder name), then import files from sub-folders. Using this, you can import functions or classes in subfolders by package_name.function

Getting Started

To test, cd to the template_multi_level main directory, where the setup.py is:

cd ../template_multi_level

Then:

   pip install -e.

In Python:

import template_multi_level as tml
tml.function_file1()

Output:

you have called function from file 1 in level 2
3

Contact

Feel free to make the template better, and ask questions:

Maryam Bahrami - [email protected]

Project Link: https://github.com/maryami66/template_multi_level

About

This is a template multi level python package.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages