# Mixed Python/ Julia package

**URL:** <https://discourse.julialang.org/t/mixed-python-julia-package/117299>\
**Category:** General Usage\
**Tags:** question\
**Created:** [July 21, 2024, 2:13pm UTC](https://discourse.julialang.org/t/mixed-python-julia-package/117299 "2024-07-21T14:13:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ufechner7](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ufechner7/32/51363_2.png) [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Post date:** [July 21, 2024, 2:13pm UTC](https://discourse.julialang.org/t/mixed-python-julia-package/117299/1 "2024-07-21T14:13:36Z")

</div>

I try to package a software that contains of a Julia package and a Python wrapper. The wrapper uses http, so no PythonCall is used.

Questions:

1. would it be possible to package it such that it can be installed with `pip`? If yes, could pip install Julia via juliaup?
2. can I document the Python API using Documenter.jl ? If not, what would would be a good and simple alternative?

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [July 21, 2024, 3:12pm UTC](https://discourse.julialang.org/t/mixed-python-julia-package/117299/2 "2024-07-21T15:12:42Z")

</div>

> [@ufechner7](#):
>
> - would it be possible to package it such that it can be installed with `pip`? If yes, could pip install Julia via juliaup?

Yes and yes. Diffeqpy is setup like this.

> [@ufechner7](#):
>
> can I document the Python API using [Documenter.jl](https://juliahub.com/ui/Packages/General/Documenter) ? If not, what would would be a good and simple alternative?

I don’t think the docstrings would work

---

<div class="post-metadata">

**Author:** ![cjdoris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cjdoris/32/213133_2.png) [@cjdoris](https://discourse.julialang.org/u/cjdoris)\
**Post date:** [July 21, 2024, 3:31pm UTC](https://discourse.julialang.org/t/mixed-python-julia-package/117299/3 "2024-07-21T15:31:29Z")

</div>

You can use [GitHub - JuliaPy/pyjuliapkg: Manage your Julia dependencies from Python](https://github.com/JuliaPy/pyjuliapkg) to handle installing Julia and any required Julia packages. It’s what JuliaCall uses.
