Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python package structure

# From the official python site
https://packaging.python.org/tutorials/packaging-projects/
# third party python site
https://realpython.com/python-application-layouts/
Comment

python Package structure

package_name/
	docs/
	scripts/
	src/
		package_a
			__init__.py
			module_a.py
		package_b
			__init__.py
			module_b.py
	tests/
    	__init__.py
		test_module_a.py
		test_module_b.py
	LICENSE.txt
	CHANGES.txt
	MANIFEST.in
	README.txt
	pyproject.toml
	setup.py
	setup.cfg
Comment

python Package structure

package_name/
	docs/
	scripts/
	src/
		package_a
			__init__.py
			module_a.py
		package_b
			__init__.py
			module_b.py
	tests/
    	__init__.py
		test_module_a.py
		test_module_b.py
	LICENSE.txt
	CHANGES.txt
	MANIFEST.in
	README.txt
	pyproject.toml
	setup.py
	setup.cfg
Comment

python Package structure

package_name/
	docs/
	scripts/
	src/
		package_a
			__init__.py
			module_a.py
		package_b
			__init__.py
			module_b.py
	tests/
    	__init__.py
		test_module_a.py
		test_module_b.py
	LICENSE.txt
	CHANGES.txt
	MANIFEST.in
	README.txt
	pyproject.toml
	setup.py
	setup.cfg
Comment

python Package structure

package_name/
	docs/
	scripts/
	src/
		package_a
			__init__.py
			module_a.py
		package_b
			__init__.py
			module_b.py
	tests/
    	__init__.py
		test_module_a.py
		test_module_b.py
	LICENSE.txt
	CHANGES.txt
	MANIFEST.in
	README.txt
	pyproject.toml
	setup.py
	setup.cfg
Comment

PREVIOUS NEXT
Code Example
Python :: get char of string python 
Python :: spark.read.load 
Python :: format in python 
Python :: how to update data in csv file using python 
Python :: pygame make a window 
Python :: generate random list and find max in list python 
Python :: python flask models user 
Python :: create new list with for loop python 
Python :: how to slice dataframe by timestamp 
Python :: pygame check collision 
Python :: selenium ways of finding 
Python :: python lastmonth 
Python :: print out session information django 
Python :: how to initialize set in python 
Python :: delete last few items from a list python 
Python :: make_response is not defined django 
Python :: size of set python 
Python :: Genisim python 
Python :: inverse mask python 
Python :: download unsplash images python no api 
Python :: pandas df exact equals 
Python :: ranking 
Python :: best scraping package in python 
Python :: get key from dict python 
Python :: continue python 
Python :: python __lt__ magic method 
Python :: permission denied when converting dataframe to csv 
Python :: basic python programs 
Python :: word counter python 
Python :: login url 
ADD CONTENT
Topic
Content
Source link
Name
6+7 =