text2excel
This program converts CSV Or TSV text files to Microsoft Excel format. It uses openpyxl to create Excel files.
As input it takes tab-separated *.txt files (TSV), or any CSV files
(Comma-Separated Values) that can be auto-detected by the Python standard
library csv module.
- You'll find the text2excel source on GitHub
Example
$ printf "one\ttwo\tthree\n1\t2\t3\n" | tee my_data_file.txt
one two three
1 2 3
$ text2excel --numbers my_data_file.txt
Saved to file: my_data_file.xlsx
Installation
To install or upgrade text2excel from PyPI, I recommend using pipx:
pipx install text2excel
pipx upgrade text2excel
If you don't have pipx, you could also use pip with your preferred Python version:
python3 -m pip install --user --upgrade-strategy eager --upgrade text2excel
News
Please see the changelog for more details.
Contributing
Do you want to help out with this project?
- Please check the CONTRIBUTING guide.
Credits
This project was originally based on a Gist by Konrad Förstner.
Metadata
Release files for text2excel 0.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| text2excel-0.4.3.tar.gz | 5.7 kB | Without provenance | Details for text2excel-0.4.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| text2excel-0.4.3-py3-none-any.whl | Python 3 | none | any | Details for text2excel-0.4.3-py3-none-any.whl |
Total release size: 12.2 kB
Release files / text2excel-0.4.3.tar.gz
| Download URL | text2excel-0.4.3.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
20e3d6c884fda556425368456e799c17d9ecb88316b257d8208b9580eee3fa9e
|
|
BLAKE2b-256 checksum How to use checksums |
4e3ac8ae361c42248a8bb4ce1db2ac2c39c9adea2dd9a3ff87e36509e1920635
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.2 Darwin/20.6.0
|
Release files / text2excel-0.4.3-py3-none-any.whl
| Download URL | text2excel-0.4.3-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37a48d216b0cccee9ac3a84f49db06d20d50fc5e7ecafae797409ff394f0b27f
|
|
BLAKE2b-256 checksum How to use checksums |
340d6f54ccbd846b3585bbe72a8e512763667aff5cfb2198938a20c17efcd4ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.2 Darwin/20.6.0
|
Security for text2excel 0.4.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.