Skip to main content

A doc generator for data engineering projects.

Project description

# 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.

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

assis-0.3.2.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

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

assis-0.3.2-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file assis-0.3.2.tar.gz.

File metadata

  • Download URL: assis-0.3.2.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for assis-0.3.2.tar.gz
Algorithm Hash digest
SHA256 e1f9ed0d2aa51c39820dc2982875870ecc351da8479c4451494e8d54fa11f3f0
MD5 7722ee3544acc76694fb4ddd7a8ec5ae
BLAKE2b-256 b9be2693e48565638f3bf5e81f9eb3ad29cb4d17eeafc4162f16c68558e2d41c

See more details on using hashes here.

File details

Details for the file assis-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: assis-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.11

File hashes

Hashes for assis-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 774f3215ff57bfd6fb7d19d954ae8e966e24a61eb4c9791476c0a9098972288a
MD5 00ba671b83c3cc1b16184304bcdfc220
BLAKE2b-256 60819ae3b0de1f5e4024c8a237b856708f1d28fc6ac6f876cd5569bd18ecc993

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