Skip to content

JBocage/amazing-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

amazing-snippets

Welcome to the amazing-snippets project !

This project aims to gather all intersting, useful of amazing snippets I could find over the internet and my code during my programmer experience.

This is here to help people keep their recurrent code snippets.

I hope you will like it !


Structure

amazing-snippets/
├── doc/
│   └── imgs/
│       ├── color_bar_integration_output.png
│       ├── explore_xkcd_colors_output.png
│       └── plot_contour_and_line_output.png
├── src/
│   ├── colors/
│   │   ├── colorbars/
│   │   │   ├── custom_bars/
│   │   │   ├── input/
│   │   │   ├── makebar_from_list.py
│   │   │   └── makebar_from_screenshot.py
│   │   ├── access_xkcd.py
│   │   ├── display_mpl_colors.py
│   │   ├── explore_xkcd_colors.py
│   │   └── hex_rgb_convertion.py
│   ├── files_manip/
│   │   ├── input/
│   │   ├── output/
│   │   └── merge_pdfs.py
│   ├── markdown/
│   │   └── cheat_sheet_1.md
│   ├── matplotlib/
│   │   ├── 3D_plots/
│   │   │   └── plot_contour_and_line.py
│   │   └── color_bar_integration.py
│   └── pandas/
│       ├── data/
│       │   ├── moscow_real_estate_sale.csv
│       │   └── rice_beef_coffee_price_changes.csv
│       ├── make_categories.py
│       └── normalize.py
├── makedoc.py
└── requirements.txt

doc

The doc directory contains all the documentation-related files.


src

The src directory basically contains all the code snippets of the project. This is where you will find all the useful stuff !


makedoc.py

author: JBocage

This script automatically generates the documentation skeleton for the project.

It aims to function from every source directory. It is easy to use it. An sample of what is contained in the file is given here.

source_parser = DocParser(root_path,
              ignored_dirs=['venv',
                            '.git',
                            '.idea',
                            ],
              repack=True
              )
source_parser.makedoc(update_README=True,
                     generate_log_report=True,
                     recurse=True
                     )

For adding figures, you need to put your figure in .makedoc/imgs Then from any script command, you can include it by writing @img:img_filename at the beginning of the line


This doc was automatically generated with makedoc v1.1.7 on 03/21/22 16:16:40

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages