Welcome to Rafnix Guzmán - Personal Card, a Python library that provides a personal card, blog post manager, and resume tools for developers. This library is designed to showcase your personal information, blog posts, and resume in a console-friendly format.
Visit my personal website: rafnixg.dev
- Personal Card: Display your personal information in a styled console table.
- Blog Posts: Fetch and display your latest blog posts from Hashnode.
- Resume Tools: Retrieve and display your resume details, including work experience, education, skills, and more.
- Customizable Links: Manage and display your personal links.
Install the library using pip:
pip install rafnixg
Run the following command to display your personal card:
rafnixg
Fetch and display your latest blog posts:
from rafnixg import BlogPosts
blog_posts = BlogPosts()
posts = blog_posts.get_posts()
for post in posts:
print(post.title, post.link)
Retrieve and display your resume details:
from rafnixg import Resume
resume = Resume()
resume_data = resume.get_resume()
print(resume_data)
The RafnixG
class provides a method to display your personal card in the console. It includes attributes like your name, position, and links to your social profiles.
The BlogPosts
class fetches your latest blog posts from Hashnode using the Hashnode GraphQL API. Posts include the title, summary, link, and publication date.
The Resume
class retrieves your resume details from a JSON file hosted online. It includes sections like:
- Basics (name, email, profiles)
- Work experience
- Education
- Skills
- Languages
- References
To contribute or run the project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/rafnixg/rafnixg-lib.git cd rafnixg-lib
-
Install dependencies:
pip install -r requirements.txt
-
Run the main script:
python -m rafnixg
-
Run tests:
pytest
This library is automatically published to PyPI using GitHub Actions. Every new release triggers a build and deployment workflow.
This project is licensed under the MIT License.
- Rich Library for console styling.
- Hashnode API for blog post integration.
- Requests Library for HTTP requests.
Contributions are welcome! Feel free to open issues or submit pull requests to improve this project.
For any inquiries, reach out to me via:
- Website: rafnixg.dev
- GitHub: rafnixg
- Twitter: @rafnixg