Skip to main content
# [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/)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

template_python_projects-1.5.tar.gz (2.4 kB view details)

Uploaded Source

File details

Details for the file template_python_projects-1.5.tar.gz.

File metadata

  • Download URL: template_python_projects-1.5.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for template_python_projects-1.5.tar.gz
Algorithm Hash digest
SHA256 242e46b3227ce88cda45f4fdcef21d123eb17849e9f21a53bfee482a3e08fbce
MD5 00af4e51db23c40dda24a479e7031ed4
BLAKE2b-256 02317be847049136a3703ea16e691c758b2057f5f659ec61f7c12f2f99611765

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.5 This release

1 file

1.3

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page