Skip to main content

A simple help for writers

Project description

My Ghost Writer

A simple helper for writers.

Overview

My Ghost Writer is a web application that analyzes text and provides words frequency statistics. It allows users to upload or type in a text, and then displays the most common words, their frequencies and their position with the text editor. The application uses natural language processing (NLP) techniques to stem words, making it easier to identify patterns and trends in the text.

Features

  • Analyse large texts and provide words frequency statistics
  • Use NLP to stem words for more accurate results
  • Support for uploading or typing in text
  • User-friendly interface with a simple editor and display of word frequencies

Technologies Used

  • Python 3.10+ (FastAPI web framework)
  • a Vanilla JavaScript frontend, playwright for E2E testing
  • nltk library for natural language processing
  • structlog for logging and error handling

Getting Started

In a Linux/WSL environment (I didn't tried with MacOS or Windows):

  1. Clone the repository using git clone https://github.com/trincadev/my_ghost_writer, cd my_ghost_writer

  2. Create a virtualenv and install the project dependencies using an existing python version with

    • poetry (poetry env use 3.12.10, poetry install, eval $(poetry env activate))
    • python -m venv .venv, source .venv/bin/activate, pip install -r requirements.txt (and the other requirements files if you need also the webserver and/or the test environment)
  3. Run the application using python my_ghost_writer/app.py

Contributing

Pull requests are welcome! Please make sure to test your changes thoroughly before submitting a pull request.

This project is still in its early stages, and there are many features that can be added to make it more useful for writers.

If you have any suggestions or would like to contribute to the project, please don't hesitate to reach out!

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

my_ghost_writer-0.1.0.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

my_ghost_writer-0.1.0-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file my_ghost_writer-0.1.0.tar.gz.

File metadata

  • Download URL: my_ghost_writer-0.1.0.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for my_ghost_writer-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ef05fb7d85d15ce723c6e346b86a5ccb84bea269905c6df477e91a684a53abc3
MD5 591eb5a93231c4e736733d2b1db3006f
BLAKE2b-256 a419091af74037a2ab567d7c871a015ee2dbdeb3a78af8947b53b5d17223da0b

See more details on using hashes here.

File details

Details for the file my_ghost_writer-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: my_ghost_writer-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.12.3 Linux/5.15.167.4-microsoft-standard-WSL2

File hashes

Hashes for my_ghost_writer-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5dea047eb2406890681c66a90890e1bc1845325fa36954d2b4c37d2dc4833c19
MD5 9da8e50fc61e6d3059ff0af72727c804
BLAKE2b-256 9f922c3e17fc3b2a23671bd5e9a3cf55865647ef217ad37fa92395a99cecab36

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