Skip to main content

A library to generate tags list from a text using OpenAI

Project description

Tags Generator

A Python library to generate a tags list from a text using OpenAI.

Installation

Install the package using pip:

Usage

from tags_generator import TagsGenerator

# Set your OpenAI API key
openai_api_key = "your_openai_api_key"

# Initialize the TagsGenerator
tg = TagsGenerator(openai_api_key)

# Generate tags from a text
text = "Create a step-by-step guide on building a pip library to distribution the library."
tags = tg.generate_tags(text)

print(tags)

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

tags-generator-0.2.0.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.

tags_generator-0.2.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file tags-generator-0.2.0.tar.gz.

File metadata

  • Download URL: tags-generator-0.2.0.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.1

File hashes

Hashes for tags-generator-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5b81dcb4afefb18e6fa8e6eff1129f2c0854415937a0b289326df89a7b54aeeb
MD5 735f52ac8653bfd7cace7c9a9efed087
BLAKE2b-256 4389aacc1263fd459e8406b842d7ee7965f40b80e092863c339a6fb3da89f350

See more details on using hashes here.

File details

Details for the file tags_generator-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: tags_generator-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 1.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.1

File hashes

Hashes for tags_generator-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 06726f1a13e5b8ee2d06b7400cefbaf7c438806d692aad1a2c5dba7946cd8f00
MD5 f10e1e66dd452e2d53630650ef7584b6
BLAKE2b-256 8e4d6229cb11e05d6e0c51cb9dd9f7775b7e90bac2e30018c594ce6871865a93

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