Skip to main content

A simple chat application using Flask and AWS Bedrock

Project description

Miya Chat

A simple chat application built with Flask.

Installation

You can install this package using pip:

pip install miya-chat

Usage

After installation, you can run the chat app using the following command:

miya-chat

This will start the Flask server on the default port 5000, and you can access the chat application in your web browser at http://localhost:5000.

To specify a custom port, you can use the --port option:

miya-chat --port 8080

This will start the server on port 8080, and you can access the application at http://localhost:8080.

Testing Locally

To test the chat app locally before distribution:

  1. Clone the repository or navigate to your project directory.

  2. Create and activate a virtual environment (optional but recommended):

    python -m venv test_env
    source test_env/bin/activate  # On Windows, use: test_env\Scripts\activate
    
  3. Install the package in editable mode:

    pip install -e .
    
  4. Run the app with the default port:

    miya-chat
    

    Access the app at http://localhost:5000

  5. Run the app with a custom port:

    miya-chat --port 8080
    

    Access the app at http://localhost:8080

  6. To test access from other devices on your local network, find your computer's local IP address and use that instead of localhost. For example:

    http://192.168.1.100:8080
    

Remember to deactivate the virtual environment when you're done testing:

deactivate

Features

  • Real-time chat functionality
  • Simple and intuitive interface
  • Easy to install and run
  • Customizable port for running the server
  • Accessible from other devices on the local network

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License.

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

miya_chat-0.1.17.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

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

miya_chat-0.1.17-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file miya_chat-0.1.17.tar.gz.

File metadata

  • Download URL: miya_chat-0.1.17.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for miya_chat-0.1.17.tar.gz
Algorithm Hash digest
SHA256 bea7d4a599f539e6b245d36d8a9bf4e93743b0a0ce05e73ec89ca0fd14b1d461
MD5 d14f82c5a7018cbae11d14ba7641676b
BLAKE2b-256 bd4ca84cc43656104b2e44d2de52e64d4f85c7f7826a92635864fa52b50a885f

See more details on using hashes here.

File details

Details for the file miya_chat-0.1.17-py3-none-any.whl.

File metadata

  • Download URL: miya_chat-0.1.17-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.5

File hashes

Hashes for miya_chat-0.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 1022aee83fd75e4303716636fe629603e834d18dc79cd1616796f2f671ca12e3
MD5 b58e643ad0e99b75ebfc36f7091f533e
BLAKE2b-256 7bd83c0ef500bfc2255102dfbb185a00deb21829e0baec06b1a7e7043503fb11

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