Skip to main content

Generate skeletons for new Python applications.

Project description

Generate good skeletons of Python applications.

Creating a new Python program require a lot of work: preparing the setup.py file, initial translation files, …

StarterPyth aims at doing this for you. Just choose your type of application, and you get a functionnal starting point. You only have to write original code, not starting by copying the same code again and again.

You can decide to create different kinds of Python applications:

  • plain-Python package

  • command-line application

  • Cython-based extension

  • Django-based website with custom commands and optional modules

    • create basic configurations for nginx and Apache

    • examples of tastypie REST APIs

    • example of basic views and forms

    • use global configuration file (/etc/myproject/project.conf) [TODO]

    • basic use of dajax and dajaxice [TODO]

The goal is also to provide many useful extra commands for distribute. Here is a list of commands I want to write:

  • generate API index file for Sphinx

  • generate doc through Sphinx

  • generate Pylint report

  • compute dependencies thanks to snake food

  • make i18n messages

  • compile i18n messages

  • generate pseudo-l10n files

  • test documentation

I also want to provide templates for other classical Python programs:

  • Django application

  • Curse application

  • PyQt applications

  • daemon

You can install it with pip:

$ pip install starterpyth

…or from the source:

$ cd StarterPyth
$ sudo python setup.py install

Then you can call it through starterpyth-bin:

$ starterpyth-bin

More complete documentation can be found at https://starterpyth.readthedocs.org/en/latest/

Starterpyth 2.0 :

doctest, unittest, nose mock pychecker, pylint, pyflakes * CHANGES.txt

  • CLI
    • man page

  • Django
    • passer à DjangoFloor 0.9

    • configuration sentry

  • démon -> fichiers de conf pour launchd / systemd

  • utilisation de six

  • création de l’environnement virtuel associé

  • template PyCharm [avec environnement virtuel, warning sur la version de Python]

  • intégration avec tox, github, travis, readthedocs

Project details


Download files

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

Source Distribution

starterpyth-1.5.14.tar.gz (472.0 kB view details)

Uploaded Source

File details

Details for the file starterpyth-1.5.14.tar.gz.

File metadata

  • Download URL: starterpyth-1.5.14.tar.gz
  • Upload date:
  • Size: 472.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for starterpyth-1.5.14.tar.gz
Algorithm Hash digest
SHA256 63e422efcffb12003ec0ab3959057f701eb46b054725c03d56934822e044136d
MD5 fe491f49175397875073cc0159bff2c9
BLAKE2b-256 2d6daa50b8cf293421ff17d21b4c04d771a59ce8cf54b9b7cd73d901ccff0184

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page