Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/shajeen/spreadsheet-to-cpplib

Convert XLSM, CSV to C++ library project.
https://github.com/shajeen/spreadsheet-to-cpplib

converter csv python xlsm xlsx

Last synced: 5 days ago
JSON representation

Convert XLSM, CSV to C++ library project.

Awesome Lists containing this project

README

        

![Reference (6)](https://user-images.githubusercontent.com/2623563/144738477-05d94852-2b84-47c2-b98a-be220731e0a6.png)




An awesome tool to help in your projects!


Explore the docs »




Report Bug
·
Request Feature

## About The Project
![1](https://user-images.githubusercontent.com/2623563/123547683-5a419d00-d77f-11eb-851d-cb4af8273df9.PNG)

There are many great tools available on GitHub, however, I didn't find one that really suit my needs so I created this enhanced one. I want to create a tool which make me a CMake lib and also it does compiles.

## Getting Started

Follow the instructions to setting up project locally.
To get a local copy up and running follow these steps.

### Installation

Install from the git repo
```sh
pip install https://github.com/shajeen/spreadsheet-to-cpplib.git
```

Install from pypi
```sh
pip install spreadSheet-to-cpplib
```
more information at https://pypi.org/project/spreadSheet-to-cpplib/

### How it works

Just pass file name as input argument, and tool will be promoting couple of question. Just answer **yes** or **no**, rest script take care everything. You may find generated files in output folder.

**example of xlsm**
```sh
spreadsheet-to-cpplib --file="Download-Sample-File-xlsm.xlsm"
```

**example of csv**
```sh
spreadsheet-to-cpplib --file="Download-Sample-File.csv"
```

#### Question that tool promots:


Q::(1) Do you want Mathametical Expression library support for formula calculation ?

: If you want C++ Mathematical Expression Toolkit header only library. Then please answer **yes** else **no**.

Q::(2) Configure as header-only library ?

: If you want generated output as header-only. Then please answer **yes** else **no**.

Q::(3) Get default value from formula as double.?

: If you want Formaul to be present as string in generated output. Then please answer **yes** else **no**.

Q::(4) Make string as 0.0?

: If you want any string as zero in generated output. Then please answer **yes** else **no**.

## Working Screenshot
![2](https://user-images.githubusercontent.com/2623563/123547680-59107000-d77f-11eb-8cb1-d05e8e8b9932.PNG)

## Roadmap

See the [open issues](https://github.com/shajeen/spreadsheet-to-cpplib/issues) for a list of proposed features (and known issues).

### Contributing

Any contributions you make are **greatly appreciated**.

1. Create an issue describing your changes.
2. Fork the repo, make the changes and please dont forget to test.
3. Create the pull request.

Please read the [CONTRIBUTING](https://github.com/shajeen/spreadsheet-to-cpplib/blob/main/CONTRIBUTING.md) before raising the PR.

## License

Distributed under the GPL-3.0 License. See `LICENSE` for more information.

## Contact

- Shajeen Ahamed - [@shajeenahamed](https://twitter.com/shajeenahamed) - [email protected]
- Project Link: [https://github.com/shajeen/spreadsheet-to-cpplib](https://github.com/shajeen/spreadsheet-to-cpplib)