Skip to main content

A cli app for tracking cookies and interacting with the Flavortown API

Project description

FlavorLineTool

FlavorLineTool is a command-line interface application designed for interacting with the Flavortown API and tracking coding statistics via Hackatime. It allows users to manage their cookies, projects, view shop items, check coding time, and search the ecosystem.

Features

  • Project Management: Create and edit projects with a guided interactive TUI form.
  • Enhanced Search: Server-side searching for users and projects.
  • Cookie Management: View your current cookie balance and stats.
  • Shop Interaction: List all available items in the Flavortown shop.
  • Time Tracking: Integrate with Hackatime to track daily coding time and project statistics.

Installation

FlavorLineTool can be installed using pip from your local directory or via PyPI.

pip install flavorlinetool

Usage

FlavorLineTool is built with a nested command structure. Running any command without arguments will show its available sub-commands.

Authentication

Configure your credentials. If you omit the key/ID, the tool will prompt you interactively.

  • Login to Flavortown API:
    flavor login api
    
  • Set Flavortown User ID:
    flavor login id
    
  • Login to Hackatime:
    flavor login hackatime
    
  • Set Hackatime Username:
    flavor login hackatimeuser
    

Projects (Interactive TUI)

Manage your Flavortown projects using a user-friendly interactive form.

  • Create a Project:
    flavor projects create
    
  • Edit a Project:
    flavor projects edit <project_id>
    
  • View Project Details:
    flavor projects view <project_id>
    

Search

Search the Flavortown ecosystem using server-side filtering.

  • Search Users:
    flavor search users "query"
    
  • Search Projects:
    flavor search projects "query"
    

Listing Resources

Explore Flavortown resources.

  • Shop: flavor list shop
  • Users: flavor list users --page 1
  • My Projects: flavor list my-projects

Stats & Time

  • Global Stats: flavor stats (Combines Flavortown and Hackatime data)
  • Today coding time: flavor time today
  • Check Status: flavor status

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

flavorlinetool-1.0.0.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

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

flavorlinetool-1.0.0-py3-none-any.whl (15.4 kB view details)

Uploaded Python 3

File details

Details for the file flavorlinetool-1.0.0.tar.gz.

File metadata

  • Download URL: flavorlinetool-1.0.0.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for flavorlinetool-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2b93de60935e4efb489b652ad58b6f66f7eeef8e4835e9c01cf49723073de076
MD5 7bed393015cdb48f18b3234c1132fbb0
BLAKE2b-256 2aa7c711b856bcbe56bc14766933b7638972582a86bfc029ce8fab78b8a48a50

See more details on using hashes here.

File details

Details for the file flavorlinetool-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: flavorlinetool-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 15.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.1

File hashes

Hashes for flavorlinetool-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 161ca1321aa5c0c660bf25262b5b72c501533ac53efeb6b5930352b0de251acf
MD5 1e238145999c1463c44aa6ae805256f0
BLAKE2b-256 e9fe0082114c61cafdfa56efc756c83ac520ba6fc34e5dd3b58fdf3c65c9ed07

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