py-db-migrate


Namepy-db-migrate JSON
Version 0.3.1 PyPI version JSON
download
home_pagehttps://github.com/akemalyildirim1/py-db-migrate
SummaryThe CLI application for managing SQL migrations.
upload_time2023-09-11 22:38:29
maintainer
docs_urlNone
authorakemalyildirim1
requires_python>=3.11,<4.0
license
keywords psql sql migration typer python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # `py-db-migrate`

CLI migration tool for python.

**Usage**:

```console
$ py-db-migrate [OPTIONS] COMMAND [ARGS]...
```

**Options**:

* `--install-completion`: Install completion for the current shell.
* `--show-completion`: Show completion for the current shell, to copy it or customize the installation.
* `--help`: Show this message and exit.

**Commands**:

* `create`: Create a new sql file.
* `down`: Delete the latest migration file by using...
* `init`: Create an initial configuration file.
* `start`: Create an initial configuration file.
* `up`: Run the new migration files.

## `py-db-migrate create`

Create a new sql file.

**Usage**:

```console
$ py-db-migrate create [OPTIONS] NAME
```

**Arguments**:

* `NAME`: [required]

**Options**:

* `--help`: Show this message and exit.

## `py-db-migrate down`

Delete the latest migration file by using down file.

**Usage**:

```console
$ py-db-migrate down [OPTIONS]
```

**Options**:

* `--help`: Show this message and exit.

## `py-db-migrate init`

Create an initial configuration file.

You need to update this configuration file.

**Usage**:

```console
$ py-db-migrate init [OPTIONS]
```

**Options**:

* `--help`: Show this message and exit.

## `py-db-migrate start`

Create an initial configuration file.

You need to update this configuration file.

**Usage**:

```console
$ py-db-migrate start [OPTIONS]
```

**Options**:

* `--help`: Show this message and exit.

## `py-db-migrate up`

Run the new migration files.

**Usage**:

```console
$ py-db-migrate up [OPTIONS]
```

**Options**:

* `--help`: Show this message and exit.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/akemalyildirim1/py-db-migrate",
    "name": "py-db-migrate",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.11,<4.0",
    "maintainer_email": "",
    "keywords": "psql,sql,migration,typer,python",
    "author": "akemalyildirim1",
    "author_email": "akemalyildirim1@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/83/45/7f4b08b01e6aa6eae4d57a02d3e91cc32867e9e68640ba9f94b9d6874830/py_db_migrate-0.3.1.tar.gz",
    "platform": null,
    "description": "# `py-db-migrate`\n\nCLI migration tool for python.\n\n**Usage**:\n\n```console\n$ py-db-migrate [OPTIONS] COMMAND [ARGS]...\n```\n\n**Options**:\n\n* `--install-completion`: Install completion for the current shell.\n* `--show-completion`: Show completion for the current shell, to copy it or customize the installation.\n* `--help`: Show this message and exit.\n\n**Commands**:\n\n* `create`: Create a new sql file.\n* `down`: Delete the latest migration file by using...\n* `init`: Create an initial configuration file.\n* `start`: Create an initial configuration file.\n* `up`: Run the new migration files.\n\n## `py-db-migrate create`\n\nCreate a new sql file.\n\n**Usage**:\n\n```console\n$ py-db-migrate create [OPTIONS] NAME\n```\n\n**Arguments**:\n\n* `NAME`: [required]\n\n**Options**:\n\n* `--help`: Show this message and exit.\n\n## `py-db-migrate down`\n\nDelete the latest migration file by using down file.\n\n**Usage**:\n\n```console\n$ py-db-migrate down [OPTIONS]\n```\n\n**Options**:\n\n* `--help`: Show this message and exit.\n\n## `py-db-migrate init`\n\nCreate an initial configuration file.\n\nYou need to update this configuration file.\n\n**Usage**:\n\n```console\n$ py-db-migrate init [OPTIONS]\n```\n\n**Options**:\n\n* `--help`: Show this message and exit.\n\n## `py-db-migrate start`\n\nCreate an initial configuration file.\n\nYou need to update this configuration file.\n\n**Usage**:\n\n```console\n$ py-db-migrate start [OPTIONS]\n```\n\n**Options**:\n\n* `--help`: Show this message and exit.\n\n## `py-db-migrate up`\n\nRun the new migration files.\n\n**Usage**:\n\n```console\n$ py-db-migrate up [OPTIONS]\n```\n\n**Options**:\n\n* `--help`: Show this message and exit.\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "The CLI application for managing SQL migrations.",
    "version": "0.3.1",
    "project_urls": {
        "Homepage": "https://github.com/akemalyildirim1/py-db-migrate",
        "Issue tracker": "https://github.com/akemalyildirim1/py-db-migrate/issues",
        "Repository": "https://github.com/akemalyildirim1/py-db-migrate"
    },
    "split_keywords": [
        "psql",
        "sql",
        "migration",
        "typer",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99ef1f91faff2e8a4ebb699ab8d836e946e746b09178cdc1b6c015db3bb08560",
                "md5": "50972167f95751aaa5609bb6bcf0ec67",
                "sha256": "490061b987b66ed05552fc8817be4968dfc680d96cd9330d440a14e5d9b3d431"
            },
            "downloads": -1,
            "filename": "py_db_migrate-0.3.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "50972167f95751aaa5609bb6bcf0ec67",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11,<4.0",
            "size": 14021,
            "upload_time": "2023-09-11T22:38:28",
            "upload_time_iso_8601": "2023-09-11T22:38:28.015331Z",
            "url": "https://files.pythonhosted.org/packages/99/ef/1f91faff2e8a4ebb699ab8d836e946e746b09178cdc1b6c015db3bb08560/py_db_migrate-0.3.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "83457f4b08b01e6aa6eae4d57a02d3e91cc32867e9e68640ba9f94b9d6874830",
                "md5": "91c2dbf7d425e02a0b8f43008445a534",
                "sha256": "b36306a68cb117dbcca9b05a3b321f31eca81094d87f04b5c6fae06cf1b66244"
            },
            "downloads": -1,
            "filename": "py_db_migrate-0.3.1.tar.gz",
            "has_sig": false,
            "md5_digest": "91c2dbf7d425e02a0b8f43008445a534",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11,<4.0",
            "size": 9115,
            "upload_time": "2023-09-11T22:38:29",
            "upload_time_iso_8601": "2023-09-11T22:38:29.899047Z",
            "url": "https://files.pythonhosted.org/packages/83/45/7f4b08b01e6aa6eae4d57a02d3e91cc32867e9e68640ba9f94b9d6874830/py_db_migrate-0.3.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-11 22:38:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "akemalyildirim1",
    "github_project": "py-db-migrate",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "lcname": "py-db-migrate"
}
        
Elapsed time: 0.10419s