Python library to interact with Artifactory's API
pip install artifactory-lib
from Artifactory import Artifactory
artifactory = Artifactory('user', '1234')
# create a new user
artifactory.create_user('tim', {
email: '[email protected]',
password: 'somepassword1234'
})
# get list of users from artifactory
users = artifactory.get_users()
print(users)
# get details for a specific user
tim = artifactory.get_user('tim')