Skip to content
New issue

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

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

Already on GitHub? # to your account

Install as a python package #69

Closed
chauhankaranraj opened this issue Apr 5, 2021 · 3 comments
Closed

Install as a python package #69

chauhankaranraj opened this issue Apr 5, 2021 · 3 comments

Comments

@chauhankaranraj
Copy link

Hi,

I really like how this repo provides a collection of open source tools for analyzing logs, and wanted to explore these tools in detail. However after reading the docs, it is not entirely clear to me how I can install this repo/library as a python package, outside of Anaconda.

So far, I have tried the following:

  1. pip install git+https://github.com/logpai/logparser.git@e8d96cd4de1121c5d2b517982c6028cd06e643f1: this throws an error because setup.py is missing
  2. pip install logparser: this package name on pypi does not correspond to this project

Could the authors please suggest how to install this library as a python package?
Also, would it be a good idea to publish this repo as a package on pypi so that others can just pip install these tools?

I'm happy to help with any step, if needed.

Thanks in advance! :)

@PinjiaHe
Copy link
Member

PinjiaHe commented Apr 7, 2021

Hi,

Thanks for your interest and suggestions!

Currently, our project cannot be installed as a python package. We plan to do so in the near future. Typically, to use the toolkit, you could download the repo. and go to the benchmark folder.

You may find some useful discussion here: #67 (comment)

@chauhankaranraj
Copy link
Author

Typically, to use the toolkit, you could download the repo. and go to the benchmark folder.

You may find some useful discussion here: #67 (comment)

Thanks for pointing me here :) I'm able to run the scripts this way, but imho packaging this toolkit and import-ing it as a python library would be a more "ideal" workflow.

Currently, our project cannot be installed as a python package. We plan to do so in the near future.

That's great to hear! Is there a rough estimate on when this will be done by? Also, if you're looking for any help with this, I'm happy to contribute.

@PinjiaHe
Copy link
Member

PinjiaHe commented Apr 7, 2021

That's great to hear! Is there a rough estimate on when this will be done by? Also, if you're looking for any help with this, I'm happy to contribute.

We plan to do this later this year. We will be happy if you'd like to contribute to our project.

@zhujiem zhujiem closed this as completed Apr 13, 2021
xpai pushed a commit that referenced this issue Sep 5, 2023
xpai pushed a commit that referenced this issue Sep 5, 2023
xpai pushed a commit that referenced this issue Sep 5, 2023
xpai pushed a commit that referenced this issue Sep 5, 2023
* Fix PRs: merge #86, merge #85, merge #83, merge #80, merge #78, merge #65, merge #57, merge #53, merge #52, merge #51, merge #49
* Fix issues: #98, #79, #72, #84, #75, #71, #69, #56, #50, #45, #16, #82
xpai pushed a commit that referenced this issue Sep 5, 2023
xpai pushed a commit that referenced this issue Sep 5, 2023
* Close PRs: close #86, #85, #83, #80, #78, #65, #57, #53, #52, #51, #49
* Fix issues: fix #98, #79, #72, #84, #75, #71, #69, #56, #50, #45, #16, #82
* Release pypi package wheel
xpai pushed a commit that referenced this issue Sep 5, 2023
* Close PRs: close #86, #85, #83, #80, #78, #65, #57, #53, #52, #51, #49
* Fix issues: fix #98, #79, #72, #84, #75, #71, #69, #56, #50, #45, #16, #82
* Release package wheel to pypi
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants