Skip to main content

This REST API service is used to manage toolforge replica.my.cnf.

It decouples the functionality of reading and writing replica.my.cnf files away from this repository and into its server environment.

Local development environment (guideline)

Requirements

You need to have Poetry installed globally. Follow the official instructions here: https://python-poetry.org/docs/master#installation

Testing with tox on debian

Clone the repo (instructions here https://gitlab.wikimedia.org/repos/cloud/toolforge/replica-cnf).

Install tox (this is the only debian-specific part):

~:$ apt install tox

Or, you can install tox with pipx (recommended) if you prefer.

Move to the directory where you cloned the repo, and run tox:

/path/to/repo/replica-cnf:$ tox

That will run the tests and create a virtualenv that you can use to manually debug anything you need, to enter it:

/path/to/repo/replica-cnf:$ source .tox/py3-unit/bin/activate

Deployment

This package follows the standard procedure outlined here:

https://wikitech.wikimedia.org/wiki/Portal:Toolforge/Admin/Packaging#Using_existing_automation

License

This project is licensed under Apache 2.0 License. See the LICENSE file for details.

Metadata

Release files for toolforge-replica-cnf 0.1.1

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

Source distribution (sdist)

Source distribution for toolforge-replica-cnf 0.1.1
File Size Uploaded Provenance Actions
toolforge_replica_cnf-0.1.1.tar.gz 24.0 kB Without provenance Details for toolforge_replica_cnf-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for toolforge-replica-cnf 0.1.1
File Interpreter ABI Platform Actions
toolforge_replica_cnf-0.1.1-py3-none-any.whl Python 3 none any Details for toolforge_replica_cnf-0.1.1-py3-none-any.whl

Total release size: 43.8 kB

Release files / toolforge_replica_cnf-0.1.1.tar.gz

Download URL toolforge_replica_cnf-0.1.1.tar.gz
Size 24.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d92b8786b513b4db20b9c12beb4cd95f5d0d7a1c877d8d23922d96c39b613b42
BLAKE2b-256 checksum
How to use checksums
df034950f8c9b588868095192026208879bedab2beb25845338681e6f420ef54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Release files / toolforge_replica_cnf-0.1.1-py3-none-any.whl

Download URL toolforge_replica_cnf-0.1.1-py3-none-any.whl
Size 19.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c0551e1dc27329d4c3d04349176244a34ac86f757e16c26d539b517b722a85e
BLAKE2b-256 checksum
How to use checksums
5632de8d766184586f75d81a1ec066ba5094f17cd8c8fe5ded925f89dab86efb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.9

Security for toolforge-replica-cnf 0.1.1

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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

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