Skip to main content

# GitItPyTest

This repository in used by the Git-It utility. The push test must connect to anonline

## Dependencies

  • Python 3.10

  • FastAPI

  • uvicorn

  • Docker

## Running Locally

There are two approaches to running the API locally.

Run the API directly

` > python3.10 -m venv .venv > source .venv/bin/activate > pip install --upgrade pip > pip install -r requirements.txt > ./run.sh `

Run the API via Docker Compose

Make sure the environment variables are set in the current environment.

`bash export PROJECT_ID=$(gcloud config get-value project) export GCP_KEY_PATH=[path to the service account credential file] ` Project Short Description (default ini)

Project long description or extended summary goes in here (default ini)

Testing

This project uses pytest to run tests and also to test docstring examples.

Install the test dependencies.

$ pip install -r requirements_test.txt

Run the tests.

Developing

This project uses black to format code and flake8 for linting. We also support pre-commit to ensure these have been run. To configure your local environment please install these development dependencies and set up the commit hooks.

$ pip install black flake8 pre-commit
$ pre-commit install

Releasing

Releases are published automatically when a tag is pushed to GitHub.

# Set next version number
export RELEASE = x.x.x

# Create tags
git commit --allow -empty -m "Release $RELEASE"
git tag -a $RELEASE -m "Version $RELEASE"

# Push
git push upstream --tags

Metadata

Release files for git-it 0.0.16

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

Source distribution (sdist)

Source distribution for git-it 0.0.16
File Size Uploaded
git-it-0.0.16.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for git-it 0.0.16
File Interpreter ABI Platform
git_it-0.0.16-py3-none-any.whl Python 3 none any Details

Total release size: 15.5 kB

Release files / git-it-0.0.16.tar.gz

Download URL git-it-0.0.16.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
358e6eb5258fa0d2db6abc9d449f312de5474028e288e41b47df09303e2bdef0
BLAKE2b-256 checksum
How to use checksums
6018133e60cad89b7d646120050ee988d225c363d481b67c0dd0d82cc0b8c029
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / git_it-0.0.16-py3-none-any.whl

Download URL git_it-0.0.16-py3-none-any.whl
Size 8.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a05ef6ca92c6ffa84eb1292fac4c8e9854ac3a13b6a57c896ae3662b7735f0fc
BLAKE2b-256 checksum
How to use checksums
68d7e6d460597b95ed8e2ce660082f8dbbdc4c61a6c4bc5710aeaf0ed5b17fe8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release history Release notifications | RSS feed

This release

0.0.16 This release

2 release files

0.0.15

2 release files

0.0.12

2 release files

0.0.11

2 release files

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.1

2 release files

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