Skip to main content

☕ pycoffee

Assign your work to the machine and enjoy coffee!

Stars Issues Size

 

Table of contents

description

pycoffee is a toolbox for improving the efficiency in daily work. Our goal is saving your time and offer you more time to enjoy coffee!

We provide some features you may like:

  • Data extracting, processing and visualizing
    • Extract data from log file, see Coffee.Data.DataLoader
    • Store data to timeseries database, see Coffee.Data.Database
    • Generate Grafana dashboard by code, see Coffee.Data.DataViz
  • All workflows are provided with the playbooks, see the default playbook Coffee.Playbook.PowerToys
  • Plugin based architecture, you can extend the coffee by writing your playbooks

Getting started

you can install the stable version pycoffee by pip:

# use pip to install the latest version
pip install pycoffee

or you can download the code and run python ./setup.py install in the project root.

Just run --help to see what features pycoffee provided.

# use `--help` to see tools
cof --help

# show external playbooks
cof play --help

Extend your playbooks

Custom playbooks are located in ~/.coffee/CustomPlays/. You should create a new directory to hold the playbook's source code and the directory name is the playbook's package name. An example can be found in Coffee.Playbook.PowerToys.

For Example, code in ~/.coffee/CustomPlays/HelloWorld/__init__.py:

import click


@click.command("hello", help="print hello world")
def play_hello():
  click.echo('hello world')

# commands should be placed in the package's `__init__.py` file
commands = [play_hello, ]

Then type cof play hello in your console, and you will see the printed hello world.

Author

tkorays tkorays@hotmail.com

Contributing

Welcome to contribute code!

Metadata

Release files for pycoffee 1.0.6

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

Source distribution (sdist)

Source distribution for pycoffee 1.0.6
File Size Uploaded Provenance Actions
pycoffee-1.0.6.tar.gz 25.8 kB Without provenance Details for pycoffee-1.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pycoffee 1.0.6
File Interpreter ABI Platform Actions
pycoffee-1.0.6-py3-none-any.whl Python 3 none any Details for pycoffee-1.0.6-py3-none-any.whl

Total release size: 61.3 kB

Release files / pycoffee-1.0.6.tar.gz

Download URL pycoffee-1.0.6.tar.gz
Size 25.8 kB
Tags Source
SHA-256 checksum
How to use checksums
68941c1d3efaf870015801a1de9494c279fba9d713b2b0aa72f15a7b85dfc5da
BLAKE2b-256 checksum
How to use checksums
501688dbea42c2309647d0a1a421469bb811bcdae2ff4b5756ffd35f022c83fc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / pycoffee-1.0.6-py3-none-any.whl

Download URL pycoffee-1.0.6-py3-none-any.whl
Size 35.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ad73ec06c59565ad5cc9107449f095522fe6b7bc570cbb00996b0096ee5f2096
BLAKE2b-256 checksum
How to use checksums
163618c59b94e3f594ccc72acc5573ae6c763aca5964602351c1575df7b4a122
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Security for pycoffee 1.0.6

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