codescraftman
README.md

Codescraftsman

Private Data Science Portfolio

Welcome to the Codescraftsman repository! This is a private personal project designed as a comprehensive portfolio showcasing Data Science, Machine Learning, and Software Development skills. It includes project pages, analytics dashboards, machine learning models, and a personal chatbot (EthanicBot) using modern AI and Django technologies.


๐ŸŒ Project Structure Overview

codescraftsman/
โ”œโ”€โ”€ manage.py
โ”œโ”€โ”€ codescraftsman/
โ”‚   โ”œโ”€โ”€ __init__.py
โ”‚   โ”œโ”€โ”€ settings.py
โ”‚   โ”œโ”€โ”€ urls.py
โ”‚   โ”œโ”€โ”€ wsgi.py
โ”‚   โ”œโ”€โ”€ asgi.py
โ”œโ”€โ”€ landing/
โ”‚   โ””โ”€โ”€ templates/landing/index.html
โ”œโ”€โ”€ personal/
โ”‚   โ””โ”€โ”€ templates/personal/
โ”‚       โ”œโ”€โ”€ index.html
โ”‚       โ”œโ”€โ”€ bio.html
โ”‚       โ”œโ”€โ”€ cv.html
โ”‚       โ”œโ”€โ”€ mission.html
โ”‚       โ”œโ”€โ”€ vision.html
โ”‚       โ””โ”€โ”€ values.html
โ”œโ”€โ”€ analytics/
โ”‚   โ””โ”€โ”€ templates/analytics/index.html
โ”œโ”€โ”€ machinelearning/
โ”‚   โ””โ”€โ”€ templates/machinelearning/index.html
โ”œโ”€โ”€ services/
โ”‚   โ””โ”€โ”€ templates/services/index.html
โ”œโ”€โ”€ testimonials/
โ”‚   โ””โ”€โ”€ templates/testimonials/index.html
โ”œโ”€โ”€ about/
โ”‚   โ””โ”€โ”€ templates/about/index.html
โ”œโ”€โ”€ ethanicbot/
โ”‚   โ”œโ”€โ”€ langchain/
โ”‚   โ”‚   โ”œโ”€โ”€ retriever.py
โ”‚   โ”‚   โ”œโ”€โ”€ agent.py
โ”‚   โ”‚   โ””โ”€โ”€ prompt.py
โ”‚   โ””โ”€โ”€ templates/ethanicbot/chat.html
โ”œโ”€โ”€ ethanicbot_updater/
โ”œโ”€โ”€ templates/
โ”‚   โ”œโ”€โ”€ base.html
โ”‚   โ””โ”€โ”€ partials/
โ”‚       โ”œโ”€โ”€ top_nav.html
โ”‚       โ”œโ”€โ”€ side_nav.html
โ”‚       โ””โ”€โ”€ footer.html
โ”œโ”€โ”€ static/
โ”‚   โ”œโ”€โ”€ css/
โ”‚   โ”œโ”€โ”€ js/
โ”‚   โ””โ”€โ”€ img/
โ””โ”€โ”€ media/

๐Ÿ“ˆ Features

  • Landing Page: Professional intro to the portfolio.
  • Personal Section: Bio, CV, Mission, Vision, Values.
  • Analytics: Dashboards, Excel cleanup, SQL reporting.
  • Machine Learning: Models for regression, classification, NLP, and clustering.
  • Services: Offered services description.
  • Testimonials: Client testimonials.
  • About: Project and personal background.
  • EthanicBot: AI-powered chatbot using LangChain and Hugging Face integrations.
  • Real-time updates: EthanicBot's background tasks with Celery and Redis.

๐Ÿš€ Tech Stack

  • Backend: Django 4.2
  • Frontend: HTML5, CSS3, JavaScript
  • AI & ML: LangChain, Hugging Face Transformers, FAISS, Sentence Transformers, PyTorch
  • Asynchronous Tasks: Celery + Redis
  • Deployment: WSGI/ASGI ready

๐Ÿ–‹๏ธ Installation

  1. Clone the repository:

    git clone https://gitfront.io/r/Thimethane/ucyPJ4GgME7t/codescraftman.git
    cd codescraftsman
    
  2. (Optional but recommended) Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
    
  3. Install all dependencies:

    pip install -r requirements.txt
    
  4. Configure your environment variables if necessary.

  5. Run migrations:

    python manage.py migrate
    
  6. Start the development server:

    python manage.py runserver_with_celery
    

๐Ÿ“ Requirements

Django>=4.2,<5.0
langchain>=0.2.2
langchain-community>=0.3.21
langchain-huggingface>=0.0.1
faiss-cpu>=1.10.0
numpy==1.26.4
tiktoken>=0.5.1
transformers>=4.37.2
torch>=2.2.0
sentence-transformers>=2.2.2
requests>=2.31.0
celery
redis
python-dotenv
channels
channels-redis
django-celery-beat
django-celery-results
joblib

๐Ÿ” Notes

  • Private repository: This portfolio is intended for personal showcasing and is not open-source.
  • Environment Variables: Remember to configure .env for secret keys, Redis URL, database credentials, etc.
  • Chatbot: EthanicBot uses LangChain agents with local FAISS vectorstore.
  • Async tasks: Celery is configured for background updates for EthanicBot embeddings.

๐Ÿ”ง Future Improvements

  • Integration with Docker.
  • Unit and integration tests.
  • Advanced NLP pipelines.
  • Deployment to cloud (AWS/GCP/Azure).

๐Ÿ›๏ธ License

This is a private project. All rights reserved.