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.6.tar.gz
.
File metadata
- Download URL: readme_ation-0.1.6.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 | 37a68695cd67c316123b8b707ac0f321f9acf5fd6a2764203d70a406c8f8df3d |
|
MD5 | cb28f5b8da5f45224317fed9c33fd580 |
|
BLAKE2b-256 | 9856ddb1257b34fa1201cca40b922089c3d76055f55ae67984f439daaaefb14f |
File details
Details for the file readme_ation-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: readme_ation-0.1.6-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 | a4371a278b01e0000441019e90df3dd7d5607f6aa4853ce8a3a709380c85aa01 |
|
MD5 | 4e5243654514a3c9591be0b1df5694f9 |
|
BLAKE2b-256 | f92fb4dfaed796dc5e40d6942abb414f092dfcad347c1407aa52fc4f6e3f6cff |