mirror of
https://github.com/ShayManor/github-readme-stats.git
synced 2026-12-02 11:53:48 +05:30
feat(main): add main entry point and restructure widget generation logic
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env python3
|
||||
"""
|
||||
Entry point for running the GitHub profile widget generator.
|
||||
Run this from the project root directory.
|
||||
"""
|
||||
|
||||
import sys
|
||||
from src.generate import main
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -54,16 +54,6 @@ GITHUB_TOKEN=your_token python run.py <username>
|
||||
python run.py <username> light
|
||||
```
|
||||
|
||||
## PyCharm Setup
|
||||
|
||||
To fix import resolution in PyCharm:
|
||||
|
||||
1. Right-click on the `src` folder
|
||||
2. Select **Mark Directory as** → **Sources Root**
|
||||
3. PyCharm will now resolve all imports correctly
|
||||
|
||||
Alternatively, the project is set up with proper relative imports, so imports should work automatically once `src` is marked as a source root.
|
||||
|
||||
## Extending
|
||||
|
||||
### Adding a New Widget
|
||||
|
||||
+35
-992
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user