Skip to main content

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:

 all hooks   | useState   | useEffect   | useContext   | otherHooks   | customHooks
-------------+------------+-------------+--------------+--------------+---------------

โŒจ 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

react_stats-0.82-py3-none-any.whl (14.1 kB view details)

Uploaded Python 3

File details

Details for the file react_stats-0.82-py3-none-any.whl.

File metadata

  • Download URL: react_stats-0.82-py3-none-any.whl
  • Upload date:
  • Size: 14.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for react_stats-0.82-py3-none-any.whl
Algorithm Hash digest
SHA256 9a4647af6dba8c0ba5dbce8abc720786d6641b7ef9601d66832f54aa3647a21d
MD5 20d518a15c7c4f0105d0183b013470d6
BLAKE2b-256 5c3285b06aa28af68f7d3b101bda80677f8153a3fa03091207a59809cd2425c9

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