Skip to content

menon92/python-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Project Template

This repository contain basic structure that may follow for any kinds of python projects

Project structure

python-project-template/
├── docs
│   └── documentation.md
├── examples
│   ├── hello.py
│   └── __init__.py
├── musicplayer
│   ├── audio
│   │   ├── __init__.py
│   │   └── read_audio.py
│   ├── bar.py
│   ├── foo.py
│   ├── __init__.py
│   └── utils
│       ├── grok.py
│       ├── __init__.py
│       │   └── spam.cpython-37.pyc
│       └── spam.py
├── README.md
└── tests
    ├── __init__.py
    ├── test_bar.py
    ├── test_foo.py
    └── test_read_audio.py

How to run any module

You can run any module from python-project-template directory

To test bar.py

python -m tests.test_bar

To test foo.py

python -m tests.test_foo

To run examples

python -m examples.hello

To test audio

python -m tests.test_read_audio

Resources

About

Structuring your project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages