# TracSQL
The TracSQL project is a plugin for the [trac](https://trac.edgewall.org/) project management tool.
A “SQL” tab is added to the Trac project. Inside this tab, the plugin supports interacting with the project database.
Some features include:
Perform queries on the project database
View results as raw or formatted (and hyper-linked) output
Export result set in CSV
Browse the database schema (including table and index information)
This plugin supports Trac installations with SQLite, MySQL, and PostgreSQL database backends (although your raw queries may need to be written differently according to which SQL database is being used).
## Installation
The TracSQL plugin can be installed using standard:
` $ pip install tracsql `
Or, grab the sources and build using:
` $ python setup.py install `
## Configuration
It is configured in the trac.ini file by enabling and configuring:
`ini [components] tracsql.* = enabled `
The TRAC_ADMIN permission is used to control access to the query pages.
By default, the TracSQL plugin connects to the project database. To use an external database, set the database parameter in the tracsql section of the trac.ini file to a valid database connection string:
`ini [tracsql] database = sqlite:db/external.db `
# Examples
Some screensots, showing a few of the features:


Metadata
Release files for TracSQL 0.3.1
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 | Actions |
|---|---|---|---|---|
| TracSQL-0.3.1.tar.gz | 6.9 kB | Without provenance | Details for TracSQL-0.3.1.tar.gz |
Release files / TracSQL-0.3.1.tar.gz
| Download URL | TracSQL-0.3.1.tar.gz |
|---|---|
| Size | 6.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab8950203a8ccd626d4ff6bae678b24f936378067dc9018d9abbf71abfc822e6
|
|
BLAKE2b-256 checksum How to use checksums |
f76a7a0dff79e4dbe97e8447b1a7406b7cd5b5151ed16f5b47c81cabc7d82b18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for TracSQL 0.3.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.