From 8bd35d2b452cef9d4537e2b84180aad0f43347ac Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 9 Jan 2019 11:34:52 -0800 Subject: update READMEs about python client library --- README.md | 3 +++ python/README.md | 12 ++++++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 4c75dffc..6ed45cb1 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,9 @@ Internet Archive's internal (not public) infrastructure. See `./python/README.md` and `./rust/README.md` for details on building, running, and testing these components. +The python client library, which is automatically generated from the API +schema, lives under `./python_client/`. + ## Status - SQL and HTTP API schemas diff --git a/python/README.md b/python/README.md index 922499f3..2760885c 100644 --- a/python/README.md +++ b/python/README.md @@ -1,19 +1,19 @@ ## Fatcat Python Code -This directory contains all python code for the fatcat project: an API client -library (`fatcat_client`), a web interface (`fatcat_web`), and a series of -utilities and worker processes (`fatcat_tools`). +This directory contains python code for the fatcat project: a web interface +(`fatcat_web`) and a series of utilities and worker processes (`fatcat_tools`). +These depend on the API client library (`fatcat_client`, see below). Most of this code is an "application" which is tightly interwoven and intended to be run from this directory, but the client library is distributed on pypi.org. -## Client Library +## API Client Library The auto-generated python client library for the fatcat API lives under -`./fatcat_client`. It includes entity model objects and functions to call all -API endpoints; see `./README_client.md` for details. +`../fatcat_client`. It includes entity model objects and functions to call all +API endpoints; see the `README.md` for details. To re-generate swagger-codegen python client library (requires docker installed locally): -- cgit v1.2.3