Newbie questions on Getting Started

11 views
Skip to first unread message

Siddharth Jain

unread,
Aug 19, 2023, 11:32:53 PM8/19/23
to Py4J Support and Comments
Hello,

I am developing a Java library that should be accessible from Python. I searched online on how to do this and came across this program. I also looked at the getting started page: https://www.py4j.org/

The problem where I need help is that I would like all this wiring to happen behind the scenes to my user. How to do that? The UX should be:

pip install my-package

import my-package

and start using it. How can I make that possible? A working sample would be appreciated. Thanks.

S.

Jonah Graham

unread,
Aug 20, 2023, 4:16:22 PM8/20/23
to py...@py4j.org
Hi S.

The py4j already comes as a pip installable module you can add to your module's dependencies. The docs have a good getting started guide on how to use it - https://www.py4j.org/getting_started.html - and you "simply" make your new package depend on py4j to pull in the py4j dependencies.

Jonah

~~~
Jonah Graham (he/him)
Kichwa Coders
www.kichwacoders.com


--
You received this message because you are subscribed to the Google Groups "Py4J Support and Comments" group.
To unsubscribe from this group and stop receiving emails from it, send an email to py4j+uns...@py4j.org.
To view this discussion on the web visit https://groups.google.com/a/py4j.org/d/msgid/py4j/4de5273e-8d2e-4213-a537-63e7c9b61cafn%40py4j.org.
Reply all
Reply to author
Forward
Message has been deleted
0 new messages