All Projects → Windfarer → pymobird

Windfarer / pymobird

Licence: MIT license
A python client for memobird printer

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pymobird

etcd3-py
Pure python client for etcd v3 (Using gRPC-JSON-Gateway)
Stars: ✭ 97 (+438.89%)
Mutual labels:  python-client
coinbasepro
A Python API for Coinbase Pro
Stars: ✭ 52 (+188.89%)
Mutual labels:  python-client
Confluent Kafka Python
Confluent's Kafka Python Client
Stars: ✭ 2,578 (+14222.22%)
Mutual labels:  python-client
onesait-cloud-platform-clientlibraries
Client libraries to interact with Onesait Platform Cloud Side (Digital Broker specially)
Stars: ✭ 15 (-16.67%)
Mutual labels:  python-client
PyBaiduPan
A python client for Baidu Pan.
Stars: ✭ 28 (+55.56%)
Mutual labels:  python-client
cryptojp
cryptojp is a Python2 and Python3 client for crypto coin trade. Binance/Poloniex/Hitbtc/Bitflyer etc...
Stars: ✭ 22 (+22.22%)
Mutual labels:  python-client
gnewsclient
An easy-to-use python client for Google News feeds.
Stars: ✭ 42 (+133.33%)
Mutual labels:  python-client
notion-sdk-py
Official Notion SDK rewritten in Python (sync + async)
Stars: ✭ 753 (+4083.33%)
Mutual labels:  python-client
assemblyline client
Python client for Assemblyline 3 and 4 / Client python pour AssemblyLine 3 and 4
Stars: ✭ 19 (+5.56%)
Mutual labels:  python-client
graspit commander
Python ROS Client for GraspIt!
Stars: ✭ 15 (-16.67%)
Mutual labels:  python-client
socketcluster-client-python
Python client for socket-cluster framework in node.js
Stars: ✭ 47 (+161.11%)
Mutual labels:  python-client

pymobird

A python client for memobird printer

PyPI version

Requirements

Python 3.4+

Installation

pip install pymobird

Quick Example

from pymobird import SimplePymobird

# init client
bird = SimplePymobird(ak='your_memobird_ak', device_id='your_device_id_by_press_twice')


# print text
bird.print_text("hello pymobird!")


# print image
image_file_path = "./Hello.jpg"
bird.print_image(image_file)
# or
image_fp = open("./hello.jpg")
bird.print_image(image_fp)
image.close()

# print html by url
bird.print_url("http://example.com/a.html")

# print multi part content
from pymobird import Content
content = Content()
content.add_image(image_fp)
content.add_text("test text")
bird.print_multi_part_content(content)


# check content print status
content_id = bird.print_text("hello pymobird!")  # print and get content_id
# wait one second, then
is_printed = bird.check_printed(content_id)  
print(is_printed)

Besides, using Pymobird class directly for advanced usage.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].