Python-overleaf-git-unipi is a small project derived from [Python-sharelatex](https://gitlab.inria.fr/sed-rennes/sharelatex). It has been slightly modified and adapted to suit the need for the local installation at https://overleaf.unipi.it, but should work against any Overleaf instance.
See [FAQ.md](FAQ.md) for answers to common installation and synchronization questions.
## Installation
The recommended way to install or update git-overleaf is to run the installer directly from GitHub:
`sh curl https://raw.githubusercontent.com/robol/python-overleaf-git-unipi/refs/heads/main/install.sh | bash `
The script requires Python 3.9 or newer, creates a virtual environment under ~/.local/share/python-overleaf-git-unipi, and installs the package there. It adds git-overleaf to your PATH through the startup file for your shell (~/.zshrc for the default macOS shell). The script can be run multiple times to update the git-overleaf module.
## Quick usage
Clone an Overleaf project by passing its project URL:
`sh git overleaf clone https://overleaf.unipi.it/project/<project-id> `
You can also choose the local directory name:
`sh git overleaf clone https://overleaf.unipi.it/project/<project-id> my-paper `
Inside the cloned project directory, pull changes from Overleaf with:
`sh git overleaf pull `
Push committed local changes back to Overleaf with:
`sh git overleaf push `
Before running git overleaf pull or git overleaf push, the git working tree must be clean: there must be no uncommitted changes and no untracked files. Check with:
`sh git status `
Commit or stash changes you want to keep before synchronizing. The pull and push commands will only run with a clean tree, that you can always obtain by running.
`sh git clean -fd `
Be careful: git clean -fd permanently deletes untracked local files and directories. Run git clean -fdn first to preview what would be deleted.
Metadata
Release files for overleaf-git-unipi 1.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| overleaf_git_unipi-1.1.6.tar.gz | 36.7 kB | Without provenance | Details for overleaf_git_unipi-1.1.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| overleaf_git_unipi-1.1.6-py3-none-any.whl | Python 3 | none | any | Details for overleaf_git_unipi-1.1.6-py3-none-any.whl |
Total release size: 73.1 kB
Release files / overleaf_git_unipi-1.1.6.tar.gz
| Download URL | overleaf_git_unipi-1.1.6.tar.gz |
|---|---|
| Size | 36.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3b417002d54200848c89a418ffc92c161cd90b999717480a1a00697e4934b39
|
|
BLAKE2b-256 checksum How to use checksums |
668f2fe7cdef3d8868bb43fe627da2dc957bbfd8107b09e842162e0981e2e0ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / overleaf_git_unipi-1.1.6-py3-none-any.whl
| Download URL | overleaf_git_unipi-1.1.6-py3-none-any.whl |
|---|---|
| Size | 36.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc3f7bfe6ca0e2c8eeb518cf270e2ecd05aaff5a4f0d3cf80b08a39b2ac7f1de
|
|
BLAKE2b-256 checksum How to use checksums |
bf361ab0389ffb27b0dcfedb2e24bb5c0e5f0242f7c0075f38f392927d5ce528
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for overleaf-git-unipi 1.1.6
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.