Skip to main content

A minimal package for students to generate essays.

Project description

Essay Writer

A minimal Python-based essay writer package for students. Generate comprehensive essays for literally any topic with a simple command or Python script.


Usage

pip install essay-writer

CLI Usage

python -m essay_writer --topic "The Solar System"

On the first run, the CLI will prompt you to enter your OPENAI_API_KEY which will get stored for future use.

Alternatively, you can reset your API key using the following command.

python -m essay_writer --set-key "your-openai-api-key"

You could also request a re-prompt by using the -r flag.

python -m essay_writer -r --topic "The Solar System"

Package Usage

First install the package.

pip install essay-writer

Then, simply import the package and call the write_essay method.

from essay_writer import EssayWriter

## If you don't set the OPENAI_API_KEY, it will read the OPENAI_API_KEY variable from your .env file
writer = EssayWriter(keys={"OPENAI_API_KEY": "test-key" })

solar_system_essay = writer.write_essay(topic="The Solar System", format="markdown")

print(solar_system_essay)

Motivation and Objectives

  • Demonstrate essay writing capabilities using Generative AI and Python Programming.
  • Help our students learn Python Programming, improve their understanding of Generative AI, and write better essays.
  • Provide a simple, re-usable interface to integrate specialized essay writing capabilities into Generative AI applications.
  • Serve as a research tool for researchers, and teachers to study essay generation, software design, and programming techniques to create sophisticated writing applications.

Contributions

We welcome contributions from developers around the globe. The steps to contribute are simple:

  • Fork the repository.
  • Create a new branch with your changes.
  • Submit a PR to this repository.
  • Complete the PR review process with our team.

License

Essay Writer is distributed under the MIT License. Refer to the LICENSE file for full details.

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

essay_writer-0.0.1.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

essay_writer-0.0.1-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: essay_writer-0.0.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for essay_writer-0.0.1.tar.gz
Algorithm Hash digest
SHA256 300f9d6bd1c32fac6b1b37d94f2acf804ae64bebae0d46933b7e28361cd1094c
MD5 db57a59ccac975c37d70e06c23ab9b21
BLAKE2b-256 0625d000c7e4b207db1ae52a8189a9d56b72da5a63976767ab940d23b3ac8315

See more details on using hashes here.

File details

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

File metadata

  • Download URL: essay_writer-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 9.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for essay_writer-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1915d5ce6d6791faaf8182f7c73e80f488c7d98cdc3ac8c2df1aa64edf6a620
MD5 83d7cff37b015f1158374036b0feac37
BLAKE2b-256 ed705b0368825ec6b7048887150fe5ed6897c7045769eb9cf121d112ab8cae28

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