Skip to main content

julia_project_basic

This Python package provides functions to check if a Julia project is properly installed and ready to use.

It ensures that registries and packages are installed. It ensures that PyCall.jl is installed, built, and that the libpython of the running python interpreter is compatible with the one used to build PyCall.jl

Install

pip install julia_project_basic

Examples

Simplest use

import os
import julia_project_basic
os.chdir("/path/to/julia/project/")
julia_project_basic.ensure_project_ready()

You can also use ensure_project_ready_fix_pycall which does everything ensure_project_ready does and also checks whethr PyCall.jl is installed, built and is compatible with the currently running python interpreter. PyCall.jl will be built if it is not already. If it is incompatible, the user will be given a choice between recompiling PyCall.jl or installing everything to a "private" depot.

In the case that the Julia project is installed and ready to use, ensure_project_ready takes about 200 micro s to run. And ensure_project_ready_fix_pycall takes about 200 ms to run. The factor of 1000 is due to starting a julia process and running a bit of julia code in the second case.

Options

See the docstrings for ensure_project_ready and ensure_project_ready_fix_pycall for a description of arguments.

Details

ensure_project_ready does the following

  • checks if the Manifest.toml (or JuliaManifest.toml) exists and is newer than Project.toml. It checks if a few directories in the Julia depot are present. It optionally checks if additional registries are installed. It optionally checks if a supplied list of packages are in the Project.toml. If any of these checks fail, then The following steps are taken to install registries, packages, etc. and to run Pkg.instantiate.

  • Optionally, registries are installed.

  • Optionally, packages are added to the project (version specs are not supported)

  • The project is instantiated.

ensure_project_ready_fix_pycall additionally checks PyCall.jl and tries to fix it if necessary.

Metadata

Release files for julia-project-basic 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for julia-project-basic 0.1.7
File Size Uploaded Provenance Actions
julia_project_basic-0.1.7.tar.gz 10.5 kB Without provenance Details for julia_project_basic-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for julia-project-basic 0.1.7
File Interpreter ABI Platform Actions
julia_project_basic-0.1.7-py3-none-any.whl Python 3 none any Details for julia_project_basic-0.1.7-py3-none-any.whl

Total release size: 20.6 kB

Release files / julia_project_basic-0.1.7.tar.gz

Download URL julia_project_basic-0.1.7.tar.gz
Size 10.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8b9a9f23c1568c69a960086177bf68c420fd9df4ffb7ffae36e3f59efd210ee1
BLAKE2b-256 checksum
How to use checksums
3df5ad792c50cd4152c930e60dc084f8022ca486cd8bacc76365f37f97e280fa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Release files / julia_project_basic-0.1.7-py3-none-any.whl

Download URL julia_project_basic-0.1.7-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f234b069841c23969c592087b6abf52ea604e8122f83619a817ca96c0073bccc
BLAKE2b-256 checksum
How to use checksums
fb486812f5127bb6a6b1125d5407467374ca8bf0b6aa495717640a955e6ff9d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.5

Security for julia-project-basic 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page