Skip to main content

Minimal Python package template for coco-api

Project description

coco-api

Minimal Python package template for coco-api.

Install

Once published:

  • pip install coco-api

Usage

  • python
  • >>> from coco_api import CocoAPI
  • >>> client = CocoAPI()
  • >>> client.ping()
  • {'status': 'ok', 'version': '0.0.1'}
  • >>> client.greet('World')
  • 'Hello, World!'

Build & publish

  • python -m pip install --upgrade build twine
  • python -m build # creates dist/ artifacts
  • twine check dist/*
  • twine upload dist/* # requires PyPI credentials

Notes

  • Package import name is coco_api (underscore), distribution name is coco-api (hyphen).
  • Update authors in pyproject.toml and bump version before release.

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

coco_api-0.0.1.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

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

coco_api-0.0.1-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file coco_api-0.0.1.tar.gz.

File metadata

  • Download URL: coco_api-0.0.1.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for coco_api-0.0.1.tar.gz
Algorithm Hash digest
SHA256 0df452d3ef1420ecc4a73add6dac20be24607c42433ddb6c31418cc00f3d0c24
MD5 b4892ca4255979fcc0538f6409946475
BLAKE2b-256 951e3e0a466580caa00652ab65f534ca97f9395487519295329a69200e3d085e

See more details on using hashes here.

File details

Details for the file coco_api-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: coco_api-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for coco_api-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4dc6be73a7e491813ecf258510c384a7896c0aa03cd90c77abddd43a1fe3815c
MD5 f3df356c38b76ad70e2b1900659649a2
BLAKE2b-256 1b2faa645357220c5541a5713072f24f4b19d3f7297377948c87144470caa7f5

See more details on using hashes here.

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