Skip to content

j4l13n/hash-csv-attributes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CSV Hashing Script

This Python script allows you to hash specified columns in a CSV file using the SHA-256 algorithm.

Requirements

  • Python 3
  • pandas library

Install the required library using:

pip install pandas

Usage

python main.py input_file.csv output_file.csv column1 column2 column3 ...
  • input_file.csv: Path to the input CSV file.
  • output_file.csv: Path to the output hashed CSV file.
  • column1 column2 column3 ...: Columns to hash in the CSV file.

Example

python main.py input_data.csv output_data_hashed.csv AMAZINA JANVIER FEVRIER MARS AVRIL MAIE JUIN JUILLET AOUT SEPTAMBRE OCTOBRE NOVEMBRE DECEMBRE TOTAL

The hashed CSV file will be saved with the specified columns hashed.

Note: Keep the original CSV file secure, as hashing is irreversible.

For any issues or questions, please create an issue.

Enjoy hashing your CSV data!

About

hash CSV attributes from file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages