assis


Nameassis JSON
Version 0.3.2 PyPI version JSON
download
home_pagehttps://github.com/pedrohgoncalvess/assis
SummaryA doc generator for data engineering projects.
upload_time2024-09-10 13:56:10
maintainerNone
docs_urlNone
authorPedro H. Gonçalves
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Assis: Automated Documentation for Data Engineering Projects

**Assis** is a Python package designed to automate the generation of documentation for data engineering projects. It scans your project files, processes them, and creates comprehensive documentation based on your codebase using natural language processing. The tool can be particularly useful for generating README files or technical documentation for data engineering workflows, pipelines, and systems.

## Features
- **Automated documentation generation**: Scans your project directory and creates documentation files such as README.md.
- **Multi-language support**: Generates documentation in multiple languages (default is Portuguese, `pt-br`).
- **Customizable file search**: Allows the user to ignore certain directories when generating documentation.
- **API Integration**: Utilizes OpenAI API to generate meaningful documentation based on the project structure.

## Installation
To install the package, you can clone the repository and install the dependencies:

```bash
pip install assis
```

Make sure to set up your environment variables or provide an OpenAI API key when running the script.

## Usage

### Basic Command

To generate documentation for your project, simply run the following command:

```bash
assis --path /path/to/your/project --key your_openai_api_key
```

### Arguments

- `--path` (required): The path to the directory where your data engineering project resides.
- `--lang`: The language in which you want the documentation to be generated. Default is Portuguese (`pt-br`).
- `--ignore`: Directories to ignore during documentation generation. *.idea, .git, .venv, venv, \__pycache__, .history, build will always be ignored*
- `--key`: OpenAI API key for generating the documentation. If not provided, the key should be available in environment variables as `OPENAI_API_KEY`.

### Files

This will generate the following files in your project directory:
- `assis-doc.log.json`: A log of the input and output tokens used during documentation generation.
- `README.md`: The generated documentation file for your project.

## Environment Variables

If you prefer not to pass the OpenAI API key via the command line, you can create a `.env` file in your project root with the following content:

```
OPENAI_API_KEY=your_openai_api_key
```

The package will automatically load this environment variable during runtime.

## Contributing

Feel free to submit issues or pull requests if you want to contribute to improving **Assis**.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE.txt) file for details.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/pedrohgoncalvess/assis",
    "name": "assis",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Pedro H. Gon\u00e7alves",
    "author_email": "pedro_gonsalves@hotmail.com",
    "download_url": "https://files.pythonhosted.org/packages/b9/be/2693e48565638f3bf5e81f9eb3ad29cb4d17eeafc4162f16c68558e2d41c/assis-0.3.2.tar.gz",
    "platform": null,
    "description": "# Assis: Automated Documentation for Data Engineering Projects\r\n\r\n**Assis** is a Python package designed to automate the generation of documentation for data engineering projects. It scans your project files, processes them, and creates comprehensive documentation based on your codebase using natural language processing. The tool can be particularly useful for generating README files or technical documentation for data engineering workflows, pipelines, and systems.\r\n\r\n## Features\r\n- **Automated documentation generation**: Scans your project directory and creates documentation files such as README.md.\r\n- **Multi-language support**: Generates documentation in multiple languages (default is Portuguese, `pt-br`).\r\n- **Customizable file search**: Allows the user to ignore certain directories when generating documentation.\r\n- **API Integration**: Utilizes OpenAI API to generate meaningful documentation based on the project structure.\r\n\r\n## Installation\r\nTo install the package, you can clone the repository and install the dependencies:\r\n\r\n```bash\r\npip install assis\r\n```\r\n\r\nMake sure to set up your environment variables or provide an OpenAI API key when running the script.\r\n\r\n## Usage\r\n\r\n### Basic Command\r\n\r\nTo generate documentation for your project, simply run the following command:\r\n\r\n```bash\r\nassis --path /path/to/your/project --key your_openai_api_key\r\n```\r\n\r\n### Arguments\r\n\r\n- `--path` (required): The path to the directory where your data engineering project resides.\r\n- `--lang`: The language in which you want the documentation to be generated. Default is Portuguese (`pt-br`).\r\n- `--ignore`: Directories to ignore during documentation generation. *.idea, .git, .venv, venv, \\__pycache__, .history, build will always be ignored*\r\n- `--key`: OpenAI API key for generating the documentation. If not provided, the key should be available in environment variables as `OPENAI_API_KEY`.\r\n\r\n### Files\r\n\r\nThis will generate the following files in your project directory:\r\n- `assis-doc.log.json`: A log of the input and output tokens used during documentation generation.\r\n- `README.md`: The generated documentation file for your project.\r\n\r\n## Environment Variables\r\n\r\nIf you prefer not to pass the OpenAI API key via the command line, you can create a `.env` file in your project root with the following content:\r\n\r\n```\r\nOPENAI_API_KEY=your_openai_api_key\r\n```\r\n\r\nThe package will automatically load this environment variable during runtime.\r\n\r\n## Contributing\r\n\r\nFeel free to submit issues or pull requests if you want to contribute to improving **Assis**.\r\n\r\n## License\r\n\r\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE.txt) file for details.\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A doc generator for data engineering projects.",
    "version": "0.3.2",
    "project_urls": {
        "Homepage": "https://github.com/pedrohgoncalvess/assis"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "60819ae3b0de1f5e4024c8a237b856708f1d28fc6ac6f876cd5569bd18ecc993",
                "md5": "00ba671b83c3cc1b16184304bcdfc220",
                "sha256": "774f3215ff57bfd6fb7d19d954ae8e966e24a61eb4c9791476c0a9098972288a"
            },
            "downloads": -1,
            "filename": "assis-0.3.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "00ba671b83c3cc1b16184304bcdfc220",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 11074,
            "upload_time": "2024-09-10T13:56:08",
            "upload_time_iso_8601": "2024-09-10T13:56:08.288790Z",
            "url": "https://files.pythonhosted.org/packages/60/81/9ae3b0de1f5e4024c8a237b856708f1d28fc6ac6f876cd5569bd18ecc993/assis-0.3.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b9be2693e48565638f3bf5e81f9eb3ad29cb4d17eeafc4162f16c68558e2d41c",
                "md5": "7722ee3544acc76694fb4ddd7a8ec5ae",
                "sha256": "e1f9ed0d2aa51c39820dc2982875870ecc351da8479c4451494e8d54fa11f3f0"
            },
            "downloads": -1,
            "filename": "assis-0.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7722ee3544acc76694fb4ddd7a8ec5ae",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 9305,
            "upload_time": "2024-09-10T13:56:10",
            "upload_time_iso_8601": "2024-09-10T13:56:10.385087Z",
            "url": "https://files.pythonhosted.org/packages/b9/be/2693e48565638f3bf5e81f9eb3ad29cb4d17eeafc4162f16c68558e2d41c/assis-0.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-09-10 13:56:10",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "pedrohgoncalvess",
    "github_project": "assis",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "assis"
}
        
Elapsed time: 0.35978s