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

Arelle installation via pypi #189

Closed
http203 opened this issue May 12, 2022 · 4 comments · Fixed by #194
Closed

Arelle installation via pypi #189

http203 opened this issue May 12, 2022 · 4 comments · Fixed by #194
Labels
enhancement New feature or request

Comments

@http203
Copy link

http203 commented May 12, 2022

Hello, I noticed that some old Arelle versions are available on pypi (https://pypi.org/project/arelle).

Is there any plan to publish Arelle updates on that service?

Thank you!

@sagesmith-wf
Copy link
Contributor

@http203, short answer, yes :). We are working on a CI story for this project that you will hopefully see soon that will include a pypi package. Its complicated by the large conformance suits and the multiple OS distributions but will hopefully be available for you and others soon

@selgamal
Copy link
Contributor

@http203, short answer, yes :). We are working on a CI story for this project that you will hopefully see soon that will include a pypi package. Its complicated by the large conformance suits and the multiple OS distributions but will hopefully be available for you and others soon

This is great news!

I have a suggestion, how about a sort of an "interface" that enables access to the installed arelle application from python.

I am implementing something similar for my personal use, I wrote a script that figures out the locations of arelle folders (config, resources...) and adds the necessary entries to python path, when I import that script I have access to import arelle objects in my code from the arelle application already installed on my machine or from source if I point the script to my local project folder (of course all dependencies need to be installed in my environment for this to work).

The benefit is that I am running from the same arelle version whether I am importing in python or running the app.

I think this will be a useful feature to add if it makes sense.

@sagesmith-wf
Copy link
Contributor

sagesmith-wf commented May 12, 2022

@selgamal I'm not really sure of the use case for what you are describing. I'm assuming its maybe getting around making the dev environment work properly on your host machine? If that's the use case, we hope to make documentation that helps make that easy for users to avoid the want to use the suggested script. We are hoping to not be a redistribution for TKinter/Python etc. so would appreciate some feedback (perhaps on another new issue) on the parts of the dev setup that make it desirable to directly edit the installed application

@selgamal
Copy link
Contributor

@sagesmith-wf yes you are correct I didn't think that through.
Anyway what I understood from your first comment is that you are planning to release a pypi package, if this is the case I will hold this thought until the package is available and make a demo explaining what I meant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Resolved
Development

Successfully merging a pull request may close this issue.

4 participants