JuliaPy / JuliaPy/PyCall.jl

Add the `from module import a as b` syntax to PyCall

Offen
#904 5 Kommentare 6 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Julia
Sterne
1.5k
Forks
186
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I have implemented a macro to replicate the `from module import a as b, c as d` syntax as `@pyfrom module import a as b, c as d`
https://github.com/AutoActuary/PyFrom.jl

Would it be possible to get something like this into PyCall?

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by reviewing PyCall.jl and the linked PyFrom.jl implementation to understand how the proposed @pyfrom syntax maps Python imports into Julia bindings. Confirm whether PyCall should adopt equivalent syntax and how aliases and multiple imports should behave; done means the feature is integrated with appropriate coverage, though no target files or tests are named in the issue.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
julia, python
Bereich
tooling
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.