Template Project in Python
Project description
# template-python-projects
Template Project for Python using git
by djclavero@yahoo.com | https://github.org/djclavero/template-python-projects
## Installation
### Requirements
* Linux/Windows
* Python 2.7 and up
`$ pip install template-python-projects`
## Usage
```python
from sound.formats import waveread
# Call function
waveread.test_waveread()
```
## Create distribution
```
# Check the package first
$ python setup.py --help-commands
$ python setup-py --check
# Create distribution
$ python setup.py sdist
```
## Upload release
```
$ twine upload dist/* # pip install twine (if required)
```
### .pypirc file
```
[pypi]
repository = https://upload.pypi.org/legacy/
username = djclavero
```
## Control of Versions (Git)
Create local repository:
```
# Create local repository
$ git init
# Create remote repository 'template-python-projects' in GitHub
```
Configuration:
```
$ git config --global user.name 'djclavero'
$ git config --global user.email djclavero@yahoo.com
# Add remote repository
$ git remote add origin https://github.org/djclavero/template-python-projects
# Set .gitignore file
$ git config --global core.excludesFile C:\Users\David\.gitignore
```
Upload to remote repository:
```
# Add files and commit
$ git status
$ git add .
$ git commit -m "init commit"
# Upload to repository
$ git push origin master
```
### .gitignore file
```
# ignore bytecode python files
*.pyc
# ignore distribution files
dist/
*.egg-info/
# ignore spyder project files
.spyproject/
```
## License
[MIT](https://choosealicense.com/licenses/mit/)
Template Project for Python using git
by djclavero@yahoo.com | https://github.org/djclavero/template-python-projects
## Installation
### Requirements
* Linux/Windows
* Python 2.7 and up
`$ pip install template-python-projects`
## Usage
```python
from sound.formats import waveread
# Call function
waveread.test_waveread()
```
## Create distribution
```
# Check the package first
$ python setup.py --help-commands
$ python setup-py --check
# Create distribution
$ python setup.py sdist
```
## Upload release
```
$ twine upload dist/* # pip install twine (if required)
```
### .pypirc file
```
[pypi]
repository = https://upload.pypi.org/legacy/
username = djclavero
```
## Control of Versions (Git)
Create local repository:
```
# Create local repository
$ git init
# Create remote repository 'template-python-projects' in GitHub
```
Configuration:
```
$ git config --global user.name 'djclavero'
$ git config --global user.email djclavero@yahoo.com
# Add remote repository
$ git remote add origin https://github.org/djclavero/template-python-projects
# Set .gitignore file
$ git config --global core.excludesFile C:\Users\David\.gitignore
```
Upload to remote repository:
```
# Add files and commit
$ git status
$ git add .
$ git commit -m "init commit"
# Upload to repository
$ git push origin master
```
### .gitignore file
```
# ignore bytecode python files
*.pyc
# ignore distribution files
dist/
*.egg-info/
# ignore spyder project files
.spyproject/
```
## License
[MIT](https://choosealicense.com/licenses/mit/)
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
Close
Hashes for template_python_projects-1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63a533a9091cd65b27e9cf65f6cc1b451d16dfba75c0d06f9f55782ef0443e51 |
|
MD5 | c2379d9c2e42f328f1117f2212977b3f |
|
BLAKE2b-256 | 2a804b12101bd314d8b27017d5faabb3b61385b2cd48042de36150c378d7afb0 |