# SheildPy: Secure Data Privacy Framework for Python Data Scientists
[](https://github.com/DeependraVerma/SecuPy-Secure-Data-Privacy-Framework-for-Python-Data-Scientists/stargazers) [](https://github.com/DeependraVerma/SecuPy-Secure-Data-Privacy-Framework-for-Python-Data-Scientists/blob/main/LICENSE)
SheildPy is an all-in-one Python package designed to address data privacy and security concerns for data scientists. Developed by [Deependra Verma](https://www.linkedin.com/in/deependra-verma-data-science/), SheildPy offers robust encryption, anonymization, and access control tools, ensuring the confidentiality and integrity of sensitive data.
## Introduction
SheildPy: Your all-in-one Python package for robust data privacy and security. Encrypt, anonymize, and control access to sensitive data effortlessly.
## Features
### SheildPy provides the following key methods: - encrypt_data(data): Encrypts sensitive data to ensure confidentiality. - decrypt_data(encrypted_data): Decrypts encrypted data to its original form. - anonymize_data(data, columns_to_anonymize): Anonymizes specific columns in a DataFrame. - add_role(role_name, permissions): Adds a new role with associated permissions to the access control system. - check_permission(role_name, permission): Checks if a role has the specified permission.
## Installation
To install SheildPy, simply run:
`bash pip install SheildPy `
Alternatively, you can clone the GitHub repository:
`bash git clone https://github.com/DeependraVerma/SecuPy-Secure-Data-Privacy-Framework-for-Python-Data-Scientists.git cd SecuPy-Secure-Data-Privacy-Framework-for-Python-Data-Scientists python setup.py install `
## Dependencies
SheildPy relies on the following dependencies: - pandas>=1.0.0 - faker>=8.0.0 - cryptography>=3.0
## Usage
# Import the package from PrivacyPy import DataPrivacyFramework
# Initialize PrivacyPy with encryption key encryption_key = “your_encryption_key” privacy_framework = DataPrivacyFramework(encryption_key)
# Anonymize sensitive columns (Name, Email) anonymized_df = privacy_framework.anonymize_data(data, [‘Name’, ‘Email’])
# Encrypt entire DataFrame encrypted_df = privacy_framework.encrypt_data(anonymized_df) print(“Encrypted DataFrame:”) print(encrypted_df)
## Users Benefit
SheildPy empowers data scientists with the following benefits: - Data Confidentiality: Encrypt sensitive data to prevent unauthorized access. - Anonymization: Anonymize personally identifiable information for privacy protection. - Access Control: Control data access based on user roles and permissions. - Compliance: Ensure compliance with data protection regulations (e.g., GDPR, HIPAA).
## Use Cases
SheildPy can be used in various data science scenarios, including: - Healthcare data analysis - Financial data processing - User authentication systems - Research collaborations with external parties
## Invitation for Contribution
Contributions to SheildPy are welcome! To contribute, follow these steps: 1. Fork the repository on GitHub. 2. Clone the forked repository to your local machine. 3. Create a new branch for your changes. 4. Make your modifications and improvements. 5. Test your changes to ensure they work as expected. 6. Commit your changes and push them to your forked repository. 7. Submit a pull request to the original repository.
We welcome contributions from the community! Whether it’s fixing bugs, adding new features, or improving documentation, your contributions help make XplainML better for everyone. Check out our [Contributing Guidelines](https://github.com/DeependraVerma/SecuPy-Secure-Data-Privacy-Framework-for-Python-Data-Scientists/wiki) to get started.
## License
SheildPy is licensed under the [MIT License](https://github.com/DeependraVerma/SecuPy-Secure-Data-Privacy-Framework-for-Python-Data-Scientists/blob/main/LICENSE). See the [LICENSE](https://github.com/DeependraVerma/SecuPy-Secure-Data-Privacy-Framework-for-Python-Data-Scientists/blob/main/LICENSE) file for details.
## About the Author
[Email](mailto:deependra.verma00@gmail.com) | [LinkedIn](https://www.linkedin.com/in/deependra-verma-data-science/) | [GitHub](https://github.com/DeependraVerma) | [Portfolio](https://deependradatascience-productportfolio.netlify.app/)
Release files for SheildPy 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| SheildPy-0.0.8.tar.gz | 7.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SheildPy-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.0 kB
Release files / SheildPy-0.0.8.tar.gz
| Download URL | SheildPy-0.0.8.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a6b8748bb86647fa04a6734bfad500005ee87d0e1215054cb96a846228d86938
|
|
BLAKE2b-256 checksum How to use checksums |
0d484658d920b0522d13a177c44eb50fbd0687ed5fc42b5ace0d5017904d3358
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|
Release files / SheildPy-0.0.8-py3-none-any.whl
| Download URL | SheildPy-0.0.8-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bee46fd07899de00a11320f1d0583cfad9fd9da919f11373b7f96894d3d043ea
|
|
BLAKE2b-256 checksum How to use checksums |
1c18ba56955ca42df07fcbb98e78362f79ab0dba9ce0086168e7e90679b43dad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.19
|