No project description provided
Project description
WORK IN PROGRESS: Pull/Push sharelatex project from/to GIT
The code is currently experimental and under development. Use it with caution.
Installation
# in the future ?
pip install sharelatex
# for now
git clone https://gitlab.inria.fr/sed-rennes/sharelatex/python-sharelatex
cd python-sharelatex
pip install [-e] .
Configuration
echo '
username: MYLOGIN
password: MYPASSWORD
' > ~/.sharelatex.yaml
chmod 600 ~/.sharelatex.yaml
Example
Get an existing project on slatex
mkdir test
cd test
# download all files of a remote project
git slatex init <project_id>
Editing and pushing back to slatex
# edit your files
# commit, commit, commit ...
#
# Push back your change to sharelatex
git slatex push
Concurrent updates may occur between your local files (because you changed them) and the remote ones (because you collaborators changed them). So before pushing, we try to make sure the merge between the remote copy and the local ones is ok. You’ll have to resolve the conflict manually (as usual with Git) and attempt a new push.
Create a remote project from a local git
git slatex new <name>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
sharelatex-0.0.2-py3-none-any.whl
(20.2 kB
view hashes)
Close
Hashes for sharelatex-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82524b58ad1c37f39538f9a3c65a961cfb96d7c7bdbb1987723add73a43f95e6 |
|
MD5 | a5cccfdb813ddd97c25dd49845b7b00f |
|
BLAKE2b-256 | 5406330efaaef2a90e15b38afed6b64c9fa7dd37939d813613a01300fd87a599 |