Coder Social home page Coder Social logo

diliu94 / stashapp-tools Goto Github PK

View Code? Open in Web Editor NEW

This project forked from stg-annon/stashapp-tools

0.0 0.0 0.0 41 KB

Tools to interface with stashapps API

Home Page: https://pypi.org/project/stashapp-tools/

License: MIT License

Python 100.00%

stashapp-tools's Introduction

stashapp-tools

This library primarily serves as a API wrapper for Stash written in python

Requirements

Developed using python 3.11.X with attempts to make things as backwards compatible where possible, if you are having issues please try using python 3.11

Installation

To install from PyPI use this command:

pip install stashapp-tools

To install directly from this repo use this command:

pip install git+https://github.com/stg-annon/stashapp-tools

Usage

import stashapi.log as log
from stashapi.stashapp import StashInterface

stash = StashInterface({
    "scheme": "http",
    "host":"localhost",
    "port": "9999",
    "logger": log
})

scene_data = stash.find_scene(1234)
log.info(scene_data)

This example creates a connection to Stash query's a scene with ID 1234 and prints the result to Stash's logs

stashapp-tools's People

Contributors

stg-annon avatar jaypikay avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.