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:
-
Clone the repository or navigate to your project directory.
-
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 -
Install the package in editable mode:
pip install -e . -
Run the app with the default port:
miya-chatAccess the app at
http://localhost:5000 -
Run the app with a custom port:
miya-chat --port 8080Access the app at
http://localhost:8080 -
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.
Metadata
Release files for miya-chat 0.1.17
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| miya_chat-0.1.17.tar.gz | 8.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| miya_chat-0.1.17-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.3 kB
Release files / miya_chat-0.1.17.tar.gz
| Download URL | miya_chat-0.1.17.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bea7d4a599f539e6b245d36d8a9bf4e93743b0a0ce05e73ec89ca0fd14b1d461
|
|
BLAKE2b-256 checksum How to use checksums |
bd4ca84cc43656104b2e44d2de52e64d4f85c7f7826a92635864fa52b50a885f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|
Release files / miya_chat-0.1.17-py3-none-any.whl
| Download URL | miya_chat-0.1.17-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1022aee83fd75e4303716636fe629603e834d18dc79cd1616796f2f671ca12e3
|
|
BLAKE2b-256 checksum How to use checksums |
7bd83c0ef500bfc2255102dfbb185a00deb21829e0baec06b1a7e7043503fb11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.5
|