•  
      code_for_government #474075
    Code improvement suggestions, New Feature development, Library/ Plugin Development
    Academic Bank of Credits
    Generic Script for DBF to MongoDB Conversion – Academic Bank of Credits
    Samanyu Srivastav (samanyu), SRIRAM S (sirswasaeye)
    Archived
    Python
    Medium
    Empty

    Create a generic, reusable script that can convert data from DBF (Database File Format) to MongoDB. Many legacy systems and government datasets are still stored in .dbf format (used in FoxPro, dBASE, etc.). This script will serve as a bridge to modernize data infrastructure by importing those datasets into MongoDB collections.

    This task aims to build a conversion bridge that will help teams migrate such legacy data into MongoDB, enabling easier access, querying, integration with web services, and analytics.

    The script should be flexible, handle large files efficiently, support minimal configuration, and ensure data integrity during the conversion process.

    1. Read .dbf files and convert records into valid JSON documents
    2. Insert converted documents into a specified MongoDB collection
    3. Provide flexibility to map field names or handle data type conversions
    4. Log success/failure statistics (e.g., records inserted, skipped, etc.)

    A working Python script or CLI tool that:

    1. Reads any standard .dbf file
    2. Inserts data into MongoDB
    3. Handles exceptions gracefully
    4. Logs output clearly (inserted count, errors, etc.)
    5. Auto-detect field types (strings, dates, numbers)
    6. Handle special characters and encoding issues
    7. Batch insert with performance optimization
    8. Option to preview sample records before inserting
    1. Clone the Repository: Start by cloning the project’s repository.
    2. Create a Branch: Use Git to create your branch for the task.
    3. Generate a Pull Request: After completing your audit, submit your findings by generating a pull request.
    Empty
    2025-05-01 17:10
    2025-10-31

    Organization Type: Government Publisher Name: Academic Bank of Credits (Digital India Corporation)

    Naveen Rastogi (naveen10r), Sanjay Patel (sanjay_patel)
    Empty
    Empty
    #474075

    Follow-ups

    User avatar
    • Repository URL
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes
    • Assign To Samanyu Srivastav (samanyu) added
    User avatar
    Amit Kumar (amitkr12)2025-09-23 12:28
    • Mentor(s) Ajoy Agarwal (ajoy), Poorti Maheshwari (poortimaheshwari) removed Naveen Rastogi (naveen10r) added
    • Last Submission Date changed from 2025-06-30 to 2025-10-31
    User avatar
    Amit Kumar (amitkr12)2025-09-23 11:52
    • Assign To Rajashekar M R (secure), kartik lohar (karthik468) removed SRIRAM S (sirswasaeye) added
    • Assigned On changed from 2025-05-01 to 2025-09-23
    User avatar

    Hello Sir, I'm interested in this project to start my collaboration, I'd love to do contribute in this.

    User avatar

    I noticed this task is still active. If it is not yet resolved, I am interested in contributing to the project. I have prior experience with open source contributions, have worked with the listed tech stacks and have a strong hold on mongDB. https://github.com/AryanSaxenaa

    User avatar
    • Title
      -Generic Script for DBF to MongoDB Conversion 
      +Generic Script for DBF to MongoDB Conversion – Academic Bank of Credits 
    User avatar
    • Expected Outcome
      Something went wrong, the follow up content couldn't be loaded
      Only formatting have been changed, you should switch to markup to see the changes