Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

hackmud_chat (Unofficial)
-------------------------

###### Installation
Just `pip install hackmud_chat`

Learn by example:
``` python
>>> from hackmud_chat import Account

# 'Login' to the hackmud chat API
>>> account = Account(token='yourtokenhere')

# Don't have a token? No panic...
# Get into your hackmud client and enter the command chat_pass
>>> account = Account(passwd='thegivenpass')

# Account's properties:
>>> account.users
>>> account.token

# Get the user you want to interact with
>>> user1 = account.get_user('user1')

# User's properties:
>>> user1.messages
>>> user1.channels

# Deeper, inside channels:
>>> user1.channels[0].users # The list of channel's members

# Access user's messages (sorted by time [latest == earliest])
>>> last = user1.messages[-1]

# Message object:
>>> last.id
>>> last.time
>>> last.from_user
>>> last.text
>>> last.to_user # Optional
>>> last.channel # Optional
>>> last.is_join # Optional
>>> last.is_leave # Optional

# Update messages:
>>> user1.update_history() # Updates user1.messages

# User's actions:
>>> user1.tell('user2', 'Hello') # Send a private message to user2
>>> user1.say('0000', 'H1 3vry0ne!') # Send a message to channel 0000
>>> user1.sayTo('0000', 'user2', "You're a noob!") # Send a message to chan 0000 formated like:
# @user2: You're a noob!
```

See some examples in [examples/](./examples/)

Documentation is coming...


Metadata

Release files for hackmud-chat 0.1a4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hackmud-chat 0.1a4
File Size Uploaded Provenance Actions
hackmud_chat-0.1a4.tar.gz 3.6 kB Without provenance Details for hackmud_chat-0.1a4.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for hackmud-chat 0.1a4
File Interpreter ABI Platform Actions
hackmud_chat-0.1a4-py2.7.egg Legacy Egg format - - Details for hackmud_chat-0.1a4-py2.7.egg
hackmud_chat-0.1a4-py2-none-any.whl Python 2 none any Details for hackmud_chat-0.1a4-py2-none-any.whl

Total release size: 15.8 kB

Release files / hackmud_chat-0.1a4.tar.gz

Download URL hackmud_chat-0.1a4.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d568c804e27f00235e46e328093fd1cf7ae1210413be255f60b8e35a813f267c
BLAKE2b-256 checksum
How to use checksums
7eedbe18afedca0cb0d1225eacd732b412226da804b4b2d09a63817e111883af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.5

Release files / hackmud_chat-0.1a4-py2.7.egg

Download URL hackmud_chat-0.1a4-py2.7.egg
Size 7.3 kB
Tags Egg
SHA-256 checksum
How to use checksums
b8111547dc3bd8866398763bac21c00923d0030020b1e720d5336c383105fdab
BLAKE2b-256 checksum
How to use checksums
f438802087f96999e0babf44d3603d8bb3e753c83c96f476cffdb54ecf1ea844
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.5

Release files / hackmud_chat-0.1a4-py2-none-any.whl

Download URL hackmud_chat-0.1a4-py2-none-any.whl
Size 4.9 kB
Tags Python 2
SHA-256 checksum
How to use checksums
b14cf0b5bd1f93f9fc2612794ea60024c72c2f372203b395696f77c65d27d3df
BLAKE2b-256 checksum
How to use checksums
dc3e2a90f5b62511afc301f62d0b98be84e2fa21e3008fe6d0b29e0ad0bb5be3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/3.6.5

Security for hackmud-chat 0.1a4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page