Observed since 20 Oct, 15:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
1Password_Utility is a Python package providing utility functions for interacting with 1Password via the command-line interface (CLI). It simplifies the process of retrieving credentials from 1Password vaults within your Python scripts, making it easier to automate tasks and securely manage sensitive information.
A collection of utility functions for interacting with 1Password via the command-line interface (CLI).
op): Install the 1Password CLI by following the instructions on the 1Password Developer website. 🛠️pip install 1Password-Utility
onepassword = __import__('1Password-Utility')
# Retrieve credentials from a 1Password item
item_uuid = "your_item_uuid" # Replace with the actual UUID of your 1Password item
username, password = onepassword_utils.get_credentials_from_1password(item_uuid)
if username and password:
print(f"Username: {username}")
print(f"Password: {password}")
# ... Use the credentials in your script 🎉
else:
print("Failed to retrieve credentials.") 😕
Make sure you have the 1Password CLI (op) installed and configured correctly before using this package. Handle the retrieved credentials securely within your scripts. Avoid printing them to the console or storing them in plain text. 🛡️
Contributions are welcome! Please feel free to submit pull requests or open issues if you find any bugs or have suggestions for improvements.
This project is licensed under the MIT License - see the LICENSE file for details.
Key points:
pip install command for easy installation.get_credentials_from_1password function.Remember to replace placeholders like your_item_uuid and your-username with your actual values.
You can further enhance the README by adding more detailed explanations, additional usage examples, or information about any other functions you might include in your onepassword_utils package in the future.
Let me know if you have any other questions or need help with further refinements!
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.2 | 15 Sept 2024 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 15:16 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:02a2d428b0b9069e6b58bb5ce2efaf4f9336882d0c9700d4ccc0bb7176ceffe6