<commit_before># About dburl
Package dburl provides a standardized way of processing database connection
strings for PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server
databases in the form of a URL.

Standard URLs are of the form `protocol+transport://user:pass@host/dbname?opt1=a&opt2=b`.

For example, the following are URLs that can be processed using `Parse` or `Open`:
    postgres://user:pass@localhost/mydb
    pgsql://user:pass@pg-server123.example.com/anotherdb?sslmode=disable
    mysql://user:pass@localhost:8899/mydb
    oracle://user:pass@somehost.com/someOtherDatabase
    mssql://localhost/databaseName
    sqlserver://localhost/databaseName
    sqlite://path/to/mydatabase.sqlite3
    file://mydb.sqlite3

Additional protocol aliases are provided for all of the databases in order to
facilitate better handling of URLs from various sources.

Please note that you still need to import the related database driver package into your code.

# Installation

Install in the usual Go fashion:
```sh
go install -u github.com/knq/dburl
```

# Usage
Please see [the GoDoc API page](http://godoc.org/github.com/knq/dburl) for a
full API listing.

The dburl package can be used similarly to the following:
```go
// example/example.go
package main

import (
	"fmt"
	"log"

	_ "github.com/denisenkom/go-mssqldb"
	"github.com/knq/dburl"
)

func main() {
	db, err := dburl.Open("sqlserver://user:pass@localhost/dbname")
	if err != nil {
		log.Fatal(err)
	}

	var name string
	err = db.QueryRow(`SELECT name FROM mytable WHERE id=10`).Scan(&name)
	if err != nil {
		log.Fatal(err)
	}

	fmt.Println(">> got: %s\n", name)
}
```

# Related Projects
* [xo](https://github.com/knq/xo) - a command line tool to generate Go types from a database schema
* [usql](https://github.com/knq/usql) - a universal/utility command line tool to execute queries on databases
<commit_msg>Fixing README.md formatting issues<commit_after># About dburl
Package dburl provides a standardized way of processing database connection
strings for PostgreSQL, MySQL, SQLite, Oracle, and Microsoft SQL Server
databases in the form of a URL.

Standard URLs are of the form `protocol+transport://user:pass@host/dbname?opt1=a&opt2=b`.

For example, the following are URLs that can be processed using `Parse` or `Open`:
```
    postgres://user:pass@localhost/mydb
    pgsql://user:pass@pg-server123.example.com/anotherdb?sslmode=disable
    mysql://user:pass@localhost:8899/mydb
    oracle://user:pass@somehost.com/someOtherDatabase
    mssql://localhost/databaseName
    sqlserver://localhost/databaseName
    sqlite://path/to/mydatabase.sqlite3
    file://mydb.sqlite3
```

Additional protocol aliases are provided for all of the databases in order to
facilitate better handling of URLs from various sources.

Please note that you still need to import the related database driver package into your code.

# Installation

Install in the usual Go fashion:
```sh
go install -u github.com/knq/dburl
```

# Usage
Please see [the GoDoc API page](http://godoc.org/github.com/knq/dburl) for a
full API listing.

The dburl package can be used similarly to the following:
```go
// example/example.go
package main

import (
	"fmt"
	"log"

	_ "github.com/denisenkom/go-mssqldb"
	"github.com/knq/dburl"
)

func main() {
	db, err := dburl.Open("sqlserver://user:pass@localhost/dbname")
	if err != nil {
		log.Fatal(err)
	}

	var name string
	err = db.QueryRow(`SELECT name FROM mytable WHERE id=10`).Scan(&name)
	if err != nil {
		log.Fatal(err)
	}

	fmt.Println(">> got: %s\n", name)
}
```

# Related Projects
* [xo](https://github.com/knq/xo) - a command line tool to generate Go types from a database schema
* [usql](https://github.com/knq/usql) - a universal/utility command line tool to execute queries on databases

{'fraction_non_alphanumeric': 0.11498810467882632, 'fraction_numerical': 0.006872852233676976, 'mean_word_length': 4.204951856946355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4679538', 'n_tokens_mistral': 1269, 'n_tokens_neox': 1207, 'n_words': 387}