No project description provided
Project description
react-stats
react-stats
is a Python package offering a collection of utilities for React.js developers. With just three commands, manage your assets and get statistics on your codebase.
๐ช How to Install
install:
pip install react-stats
to update:
pip install react-stats --upgrade
๐ What you can do
* fun statistics about your project
* instant asset structure
* automatic asset manager
โจ 1 of 3 Get-Stats
You'll get a stats.txt file with statstics about your project such as:
- language usage chart
- file overview table
- hook overview table
run command:
get-stats
language usage:
Python | 83.47% โโโโโโโโโโโโโโโโโโโโ
Markdown | 8.67% โโโโโโโโโโโโโโโโโโโโ
Text | 7.86% โโโโโโโโโโโโโโโโโโโโ
100%
file usage:
==================== ======= ==========
files lines language
==================== ======= ==========
get_stats.py 167 Python
auto_assets.py 43 Python
make_assets.py 42 Python
README.md 37 Markdown
setup.py 27 Python
exts.py 20 Python
SOURCES.txt 17 Text
ahoy.py 10 Python
printr.py 8 Python
entry_points.txt 6 Text
requires.txt 5 Text
top_level.txt 1 Text
__init__.py 0 Python
dependency_links.txt 0 Text
==================== ======= ==========
hook usage:
file | all hooks | useState | useEffect | useContext | otherHooks | customHooks
--------------------+-------------+------------+-------------+--------------+--------------+---------------
Home.js | 10 | 6 | 0 | 2 | 0 | 2
Forms.js | 5 | 2 | 0 | 1 | 0 | 2
Register.js | 4 | 3 | 0 | 1 | 0 | 0
Login.js | 4 | 3 | 0 | 1 | 0 | 0
useLocalStorage.js | 2 | 1 | 0 | 0 | 0 | 1
FormSlider.js | 2 | 1 | 0 | 0 | 0 | 1
NodoForm.js | 1 | 0 | 0 | 0 | 0 | 1
FormChecks.js | 1 | 0 | 0 | 0 | 0 | 1
useCurrentDate.js | 1 | 1 | 0 | 0 | 0 | 0
userContext.js | 1 | 1 | 0 | 0 | 0 | 0
HappinessForm.js | 1 | 0 | 0 | 0 | 0 | 1
WealthForm.js | 1 | 0 | 0 | 0 | 0 | 1
HealthForm.js | 1 | 0 | 0 | 0 | 0 | 1
FormCounters.js | 1 | 0 | 0 | 0 | 0 | 1
IntroPage.js | 1 | 0 | 0 | 0 | 0 | 1
Scores.js | 1 | 1 | 0 | 0 | 0 | 0
LogReg2.js | 1 | 1 | 0 | 0 | 0 | 0
โจ 2 of 3 Make-Assets
Run the following command to get a asset folder structure specified for dealing with assets.
command:
make-assets
folder structure:
โโโ assets
โ โโโ audio
โ โโโ data
โ โโโ docs
โ โโโ fonts
โ โโโ icons
โ โโโ images
โ โโโ video
โจ 3 of 3 Auto-Assets
For automatically organizing your assets including docs, images, videos, data...
run command:
auto-assets
Now, when you create a file in the root directory it will be automatically moved to the correct subfolder in the assets folder.
If you haven't run make-assets
, than a subfolder will still be automatically created.
This command will keep running in the background. You can stop it anytime with Ctrl+C
.
Contributing
If you encounter any issues or have suggestions for improvements, please open an issue or a pull request.
License
This project is licensed under the MIT License.
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 Distributions
Built Distribution
Hashes for react_stats-0.86-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b413ea27dfa4cddcd098c952e290c8c98c213ee76e06c462dd04f05def389c9c |
|
MD5 | 35287b2f104fe540e4471a9aa547470b |
|
BLAKE2b-256 | a896979a80f7476edefaf08571292874668396744566d658fc852ed88c1320b7 |