A README.md generation tool
Project description
Overview
This repository contains scripts to automate the process of generating a README.md
file with setup and run instructions for a Python project. The main script scans Python files for imported packages, determines their versions, and updates the README with environment setup instructions. It also allows adding detailed project descriptions.
Features
- Automated README Generation: Scans Python files to identify imported packages and their versions, then generates setup instructions for a Mamba environment.
- Project Description Section: Adds a detailed project description to the README, including overview, motivation, technologies used, approach, challenges, key takeaways, and acknowledgments.
Functions
find_all_py_files(directory)
Finds all Python files in the specified directory and its subdirectories.
open_or_create_readme(readme_path)
Opens an existing README file or prompts to create a new one if it doesn't exist.
add_setup_with_versions(file_paths, readme_path)
Adds setup and run instructions to the README file based on the identified packages and their versions.
add_project_description(readme_path, project_details)
Adds a detailed project description to the README file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file readme_ation-0.1.7.tar.gz
.
File metadata
- Download URL: readme_ation-0.1.7.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6059f17a8fed27567fb04fa2211b19f73e75b9132d46f11d5809d79d7abac43e |
|
MD5 | 29feab0dacedb14b0e03bb9b57f28761 |
|
BLAKE2b-256 | 80e8db254c231c01328328c107cae28be92d7cee4bf58ba17db8e54c995b0fe5 |
File details
Details for the file readme_ation-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: readme_ation-0.1.7-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1892974411988faebe5f714f6940d36b63918e2e52b8581ccd14e3c67bb3cf2 |
|
MD5 | d125f72976914af17b742af6ed9d4e46 |
|
BLAKE2b-256 | f5d45995ab8ec17778313c04f0a8e29085fc47c03a4f9319838284e2d204a67d |