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.13.tar.gz (548.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: starterpyth-1.5.13.tar.gz
  • Upload date:
  • Size: 548.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for starterpyth-1.5.13.tar.gz
Algorithm Hash digest
SHA256 84ff3e7f78371e44fad6cafef522f972fef5b50aa2d92fecf9bd6fc0248a2ecc
MD5 3b4caeda2dbf178c0ebd789175de0bf4
BLAKE2b-256 00a55e2f0c521a22bc32e143caa3eeaca9b575e99b4ac678b26bc3fbd4c38a36

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