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.3.0.tar.gz (2.1 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.3.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tags-generator-0.3.0.tar.gz
  • Upload date:
  • Size: 2.1 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.3.0.tar.gz
Algorithm Hash digest
SHA256 e4975eb61d5f8b36402c8dcde73f0afa5f1c780393ef596b82aaff2e98704e1b
MD5 31dd08a4c916263e962bc25332fb2af5
BLAKE2b-256 c2c392bf5c1e01ac31b0f860a5d09d01202993beabcfb90b8bf70534490bc794

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tags_generator-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccd34265f76b7e85669522b125070c703a2d932a36ca07ca07648ac2ad0e3cc8
MD5 111c8a4c8bfcca89e6572707872a0632
BLAKE2b-256 953a64caa5788c142b9f1be2bc114651f06cb13d032b613abb762d4fde645dc5

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