Skip to content

z1z0v1c/RigCountProcessor

Repository files navigation

RigCountProcessor

GitHub Workflow Status GitHub last commit GitHub issues GitHub

A .NET Core console application that retrieves a file from the web, processes the data using a given algorithm, and writes it to a specified output format.

Currently supports processing Xlsx data using a simple Rig Count algorithm and writing to a Csv file. More options will be available soon.

Features

  • Automated file download from a predefined URL.
  • Conversion and processing of Xlsx data to Csv format.
  • Command-line interface for ease of use.
  • Customizable behavior through command-line arguments and a config file.

Installation

  1. Clone the repository:

    git clone https://github.com/z1z0v1c/RigCountDownloader.git
  2. Navigate to the project directory:

    cd RigCountDownloader
  3. Restore dependencies:

    dotnet restore
  4. Build the application:

    dotnet build

Usage

  1. Run the application:

    dotnet run --project RigCountProcessor

The application will download the Excel file from the specified URL and convert it into a CSV file saved on the local drive.

  1. Command Line Options:
--start-year, -s    Starting year of data processing. 
--year-count, -y    Data processing year count.
  1. Running Tests:
dotnet test

This will execute all tests in the RigCountProcessor.Tests project.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

A C# console application for downloading an Excel file from a website and converting it into a CSV file on the local drive.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages