Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python admin api #829

Closed
ruiztulio opened this issue Dec 7, 2019 · 17 comments
Closed

Python admin api #829

ruiztulio opened this issue Dec 7, 2019 · 17 comments

Comments

@ruiztulio
Copy link

Hi, is it possible to access the admin api via the python package? I don't find it in the documetation neither the code (probbably not looking in the right place).

I'm trying to write an app that uses minio. The users, groups and policies will be managed from there. I know I can do it using minio client, but it'd be nice to handle everything from the api itself

If there is no way to do it from the minio-py package, the admin api is documented anywhere? I could only find the mc

Thanks for the work dedicated to this package btw!

@harshavardhana
Copy link
Member

It is not possible yet, we may do it in the future but not for now.

@ruiztulio
Copy link
Author

@harshavardhana thanks for the answer...is it documented somewhere? I wouldn't mind to implement it by myself

@harshavardhana
Copy link
Member

https://github.com/minio/minio/tree/master/pkg/madmin @ruiztulio

@ruiztulio
Copy link
Author

@harshavardhana Thanks! I'll close this then

@jhadjar
Copy link

jhadjar commented Jul 15, 2020

Hey, @ruiztulio... Did you end up implementing this? We implemented something in that sense here https://big-mama-tech.gitlab.io/bmc/. Would this API suit you? No external libraries, provided you have the mc and minio command line tools on your machine.

It's still a prototype for our work for https://iko.ai and does not yet completely match mc and minio CLIs but we'll probably beef it up and share it.

@harshavardhana Is this on the roadmap?

@harshavardhana
Copy link
Member

Hey, @ruiztulio... Did you end up implementing this? We implemented something in that sense here https://big-mama-tech.gitlab.io/bmc/. Would this API suit you? No external libraries, provided you have the mc and minio command line tools on your machine.

This is correct usage.

It's still a prototype for our work for https://iko.ai and does not yet completely match mc and minio CLIs but we'll probably beef it up and share it.

@harshavardhana Is this on the roadmap?

No @jhadjar

@ThyMakra
Copy link

ThyMakra commented May 26, 2021

Hi. @jhadjar that was very helpful though is there anyway to use bmc to manipulate mc admin to configure the bucket (for example: bucket quota)?

@ruiztulio
Copy link
Author

@jhadjar Hi, sorry for reaching you so late, but I did not implement it, actually a few months ago revisited the thread and started using bmc, just works great so far! Cheers!

@jhadjar
Copy link

jhadjar commented Sep 12, 2021

Hi. @jhadjar that was very helpful though is there anyway to use bmc to manipulate mc admin to configure the bucket (for example: bucket quota)?

Hi, @ThyMakra ... Sorry I missed your reply. Yes, I'll implement it and bump the version to 0.0.4. As of now, it's 0.0.3 at https://pypi.org/project/bmc

Do you want to do things like mc admin bucket quota myminio/mybucket --fifo 10GB?

I'll notify you when it's done.

@djmattyg007
Copy link

@jhadjar Where is the code for bmc stored? The Gitlab links don't work.

@jhadjar
Copy link

jhadjar commented Sep 14, 2021

Hi, @djmattyg007... The homepage on PyPI should be this: https://big-mama-tech.gitlab.io/bmc

You can install it with pip install bmc.

@djmattyg007
Copy link

@jhadjar That's a link to the documentation. Where is the code repository?

And now that I'm thinking about it, what is the license? PyPI just says "other".

@djmattyg007
Copy link

I can't use software without a license. I wasn't able to find a license in the tarball, and everything else (PyPI, setup.py, etc) doesn't indicate anything other than "Proprietary". This could mean anything at all.

@jhadjar
Copy link

jhadjar commented Sep 14, 2021

@djmattyg007 I understand.

@jhadjar

This comment has been minimized.

@MrArabboy
Copy link

MrArabboy commented Mar 24, 2023

@jhadjar I can't find code repository. Gitlab link raises 404. Where is the code repository?

@chxclyde
Copy link

@minio minio locked as resolved and limited conversation to collaborators Jul 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants