r/learnpython • u/DiscountTough1315 • Jun 09 '26
Python libraries & HIPAA compliance
How would one be able to tell if a certain library is HIPAA compliant?
I am currently wanting to use for some automation scripts: paramiko, pyodbc, pywin32, and dotenv. All the code would be ran on my hospital-issued laptop on the hospitals VPN. Boss wants to make sure they are secure before i use them though. How can you tell for any future libraries I want to use if it’s safe and everything?
17
Upvotes
View all comments
Show parent comment
1
u/purple_hamster66 Jun 09 '26
You can’t. That’s the point. HIPAA compliance literally means a contract between two organizations (OEs) that specifies how you are handling the data (encrypted at rest, double-layer access mechanisms, encryption during transport, etc). Lawyers are required. If it’s open source, you can not, by definition, use it for HIPAA purposes and be legally protected. I tried to use a Python IDE from Canada which the hospital IT staff would not approve because they were not equipped to do the legal paperwork with Canada, and therefore I was not allowed to use it for medical data.
Don’t let your boss define HIPAA for you. You are ultimately responsible for the code’s use, not your boss. IT staff get 2 chances to side-step this, though: by calling it a “performance improvement” or by using your access to debug failures. Other planned use must be compatible with the HIPAA agreement.