Skip to main content

A package for metaheuristic optimization in Python.

Project description

build script pypi version pypi downloads coverage report

texgit: Accessing Git Repositories from LaTeX

1. Introduction

texgit is a preprocessor for accessing files from git repositories from LaTeX. This Python package works in conjunction with the texgit LaTeX style. Basically, the LaTeX package fills the aux file of a TeX project with repository file loading request. This Python package here then parses the aux file, loads the requests, then performs the request, and adds commands with the resulting file paths and URLs to the aux file. In the second pdfLaTeX compilation, these then become available.

2. Installation

In order to use this package and to, e.g., run the example codes, you need to first install it using pip or some other tool that can install packages from PyPi. You can install the newest version of this library from PyPi using pip by doing

pip install texgit

This will install the latest official release of our package as well as all dependencies. If you want to install the latest source code version from GitHub (which may not yet be officially released), you can do

pip install repository+https://github.com/thomasWeise/texgit_py.git

If you want to install the latest source code version from GitHub (which may not yet be officially released) and you have set up a private/public key for GitHub, you can also do:

git clone ssh://git@github.com/thomasWeise/texgit_py
pip install texgit_py

This may sometimes work better if you are having trouble reaching GitHub via https or http.

You can also clone the repository and then run a make build, which will automatically install all dependencies, run all the tests, and then install the package on your system, too. This will work only on Linux, though. It also installs the dependencies for building, which include, e.g., those for unit testing and static analysis. If this build completes successful, you can be sure that texgit will work properly on your machine.

All dependencies for using and running texgit are listed at here. The additional dependencies for a full make build, including unit tests, static analysis, and the generation of documentation are listed here.

3. License

texgit is a tool for accessing files in git repositories from LaTeX.

Copyright (C) 2023-—2025 Thomas Weise (汤卫思教授)

Dr. Thomas Weise (see Contact) holds the copyright of this package.

texgit is provided to the public as open source software under the GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007. Terms for other licenses, e.g., for specific industrial applications, can be negotiated with Dr. Thomas Weise (who can be reached via the contact information below).

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

Please visit the contributions guidelines for texgit if you would like to contribute to our package. If you have any concerns regarding security, please visit our security policy.

4. Contact

If you have any questions or suggestions, please contact Prof. Dr. Thomas Weise (汤卫思教授) of the School of Artificial Intelligence and Big Data (人工智能与大数据学院) at Hefei University (合肥大学) in Hefei, Anhui, China (中国安徽省合肥市) via email to tweise@hfuu.edu.cn with CC to tweise@ustc.edu.cn.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

texgit-0.9.11.tar.gz (28.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

texgit-0.9.11-py3-none-any.whl (28.3 kB view details)

Uploaded Python 3

File details

Details for the file texgit-0.9.11.tar.gz.

File metadata

  • Download URL: texgit-0.9.11.tar.gz
  • Upload date:
  • Size: 28.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for texgit-0.9.11.tar.gz
Algorithm Hash digest
SHA256 dbc2ac66edb4ff44e34017697bbf9b37923b93242150e9089fe957385f10fc98
MD5 d73b2fc27e7439e26e588c32f2c53c50
BLAKE2b-256 390fb914190c225e27563aa8364f9440444ee63486e5fa494a02f14aa23873b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for texgit-0.9.11.tar.gz:

Publisher: release.yml on thomasWeise/texgit_py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file texgit-0.9.11-py3-none-any.whl.

File metadata

  • Download URL: texgit-0.9.11-py3-none-any.whl
  • Upload date:
  • Size: 28.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for texgit-0.9.11-py3-none-any.whl
Algorithm Hash digest
SHA256 cc96f30f9989bc3a964fb74ce3f7af71b8f3820d54b1104302f6d21a947a6d37
MD5 f1ea2a626daa60f482af2b0bf788ccbe
BLAKE2b-256 943b5c168181d0280029ae9728f34367fb5938fbd14b9e3934e1075ad69cd437

See more details on using hashes here.

Provenance

The following attestation bundles were made for texgit-0.9.11-py3-none-any.whl:

Publisher: release.yml on thomasWeise/texgit_py

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page