Skip to content

This script searches all the admission numbers for which the TC data is yet to be upload on the KVS website and stores it in a file for further use.

License

Notifications You must be signed in to change notification settings

vishalnagda1/kvs-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kendriya Vidyalay TC Data

This script searches all the tc numbers for which the TC data is yet to be upload on the KVS website and stores it in a file for further use.

There are two scripts:

  1. Node JS script
  2. Python script

You can use any script, it's all upto you.

Requirements

Prerequisites

You should have at least a basic understanding of fundamental programming concepts and some experience with introductory Javascript or Python. And the knowledge of Node JS is an advantage.

Installation

Make sure you have the following installed. And the installation will be based on your preferences. If you choose to go with Node JS then install Node JS related requirements only and if you choose to go with Python then install Python related requirements only.

Node JS related requirements:
Python related requirements:
Other optional requirements:
  • Latest version of git (This is optional. It requires only if you choose to clone project)

Getting Started

  1. Either you can clone or download repository from GitHub.

    • Clone with HTTPS (required git installed in your system)

      git clone https://github.com/vishalnagda1/kvs-scripts.git
    • Clone with SSH (required git installed in your system)

      git clone git@github.com:vishalnagda1/kvs-scripts.git
    • Download Zip

  2. Navigate to project directory in the terminal or command prompt.

    cd kvs-scripts
  3. Install project dependencies

    • Node JS

      npm install
    • Python

      pip install -r requirements.pip
  4. Run the Script

    • Node JS User

      npm start <url> <from> <range> <logTcData>
    • Python User

      python tc-data.py <url> <from> <range> <log_tc_data>
      • url - It is required, and is the base url of your KV School e.g.

        • Node JS

          npm start https://no2udaipur.kvs.ac.in/ 3045701
        • Python

          python tc-data.py https://no2udaipur.kvs.ac.in/ 3045701
      • from - It is required, and is the starting tc number e.g.

        • Node JS

          npm start https://no2udaipur.kvs.ac.in/ 3045701
        • Python

          python tc-data.py https://no2udaipur.kvs.ac.in/ 3045701
      • range - It is optional, and is like how many next tc numbers you want to process like 10 or 20. The default value is 1. e.g.

        • Node JS

          npm start https://no2udaipur.kvs.ac.in/ 3045701 10
        • Python

          python tc-data.py https://no2udaipur.kvs.ac.in/ 3045701 10
      • logTcData or log_tc_data - It is optional, and is a flag value where 1 means to print TC issued data of processed admisison number and 0 (zero) means to skip the logging TC issue data. The default value is 0. e.g.

        • Node js

          python tc-data.py https://no2udaipur.kvs.ac.in/ 3045701 10 1
        • Python

          python tc-data.py https://no2udaipur.kvs.ac.in/ 3045701 10 1
  5. TC Number File Output:

    • Both script will generate tc-numbers.txt file in the project directory. It contains all the tc number whose TCs are not yet issued or omitted to issue.

Contributing

  1. Fork it ( https://github.com/vishalnagda1/kvs-scripts/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new pull request.

About

This script searches all the admission numbers for which the TC data is yet to be upload on the KVS website and stores it in a file for further use.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published