Skip to main content

TurboGears 2 DevTools is a command-line toolkit that streamlines TurboGears2 development.

Project description

https://github.com/TurboGears/tg2devtools/actions/workflows/run-tests.yml/badge.svg https://img.shields.io/pypi/v/tg.devtools.svg https://img.shields.io/pypi/pyversions/TurboGears2.svg https://img.shields.io/pypi/l/tg.devtools.svg

TurboGears 2 DevTools is a command-line toolkit that streamlines the development of TurboGears2 applications. Built on top of Gearbox, it helps you quickly scaffold new full-stack projects, generate extensions, manage database migrations, and launch interactive shells all from one unified interface.

Key Features

  • Quickstart: Scaffold a new TurboGears2 project in minutes.

  • Extension Generator: Easily create and integrate TurboGears extensions.

  • Database Migrations: Run migration commands for SQLAlchemy and Alembic effortlessly.

  • Interactive Shell: Launch a shell preloaded with your app’s context for rapid testing.

  • Gearbox Integration: Seamlessly work with Gearbox to serve and manage your applications.

Getting Started

https://asciinema.org/a/703596.png

Installation:

To install via pip, run:

pip install tg.devtools

For development and testing, install with extras:

pip install -e .[testing]

Creating a New Project:

Use the quickstart command to generate a new TurboGears2 full-stack application:

gearbox quickstart myproject

This creates a ready-to-run project with a standard directory structure and preconfigured settings. To start the newly created web application, follow the instructions in the project README.rst file.

Usage Examples

  • Generate a TG Extension:

    gearbox tgext
  • Run Database Migrations:

    gearbox sqla-migrate
    gearbox migrate
  • Launch an Interactive Shell:

    gearbox tgshell

Resources

  • TurboGears Website: http://www.turbogears.org

  • Documentation: https://turbogears.readthedocs.io

  • Community & Support: Join our Mailing List or Gitter Chatroom chatroom.

Contributing

Contributions, bug reports, and feature requests are welcome!

License

TurboGears 2 DevTools is licensed under the MIT License. See the LICENSE.txt file for details.

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

tg_devtools-2.5.0.tar.gz (226.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tg.devtools-2.5.0-py3-none-any.whl (258.1 kB view details)

Uploaded Python 3

File details

Details for the file tg_devtools-2.5.0.tar.gz.

File metadata

  • Download URL: tg_devtools-2.5.0.tar.gz
  • Upload date:
  • Size: 226.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for tg_devtools-2.5.0.tar.gz
Algorithm Hash digest
SHA256 69757411b69bfc849cf04d7ef258f4c240f2040342b4d9ba183d8994036927e5
MD5 679c579d0cdd5a1645d7a2ba6f6b968f
BLAKE2b-256 3f9ac95f2e487bd4e6a311a2d3a84f6f84d926e584bff3cedd1f6b771fe0b0d4

See more details on using hashes here.

File details

Details for the file tg.devtools-2.5.0-py3-none-any.whl.

File metadata

  • Download URL: tg.devtools-2.5.0-py3-none-any.whl
  • Upload date:
  • Size: 258.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for tg.devtools-2.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ea141513394728692d012df85860b55c7e04991718d4d51b223d0b1e49cb131e
MD5 a7fe01e30ea14c4b85714c3637b4da5e
BLAKE2b-256 4b9b9e9e145b70a0c5bb697d5a714f6e4da448112560129d0531bd0c33b0b262

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