# [template-python-projects](https://github.org/djclavero/template-python-projects)
Template Project for Python using git
by djclavero@yahoo.com
## Installation
### Requirements
* Linux/Windows
* Python 2.7 and up
`$ pip install template-python-projects`
## Usage
```python
from video.formats import mp4play
# Call function
mp4play.test_mp4play()
```
## 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
## Installation
### Requirements
* Linux/Windows
* Python 2.7 and up
`$ pip install template-python-projects`
## Usage
```python
from video.formats import mp4play
# Call function
mp4play.test_mp4play()
```
## 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/)
Metadata
Release files for template-python-projects 1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| template_python_projects-1.5.tar.gz | 2.4 kB | Without provenance | Details |
Release files / template_python_projects-1.5.tar.gz
| Download URL | template_python_projects-1.5.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
242e46b3227ce88cda45f4fdcef21d123eb17849e9f21a53bfee482a3e08fbce
|
|
BLAKE2b-256 checksum How to use checksums |
02317be847049136a3703ea16e691c758b2057f5f659ec61f7c12f2f99611765
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Security for template-python-projects 1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.