GithubHelp home page GithubHelp logo

pytson_repository's Introduction

pyTSon_repository

This is the "official" repository for pyTSon's plugins.

How to add a script

Just open a pull request with your scriptfile and your metadata included in https://github.com/pathmann/pyTSon_repository/blob/master/repository.json. If you push something to this repository, your code has to be compatible with the GNU GPLv3.

URLs

You may want to predict URLs from https://cdn.rawgit.com, if you are not sure about the tag, just use the current date (preferable in format yyyy-MM-dd) or simply come up with some cool name. But make sure, it is unique in https://github.com/pathmann/pyTSon_repository/tags.

Wanna keep it updated yourself?

This repository is currently always included by default in every pyTSon installation, but users may add their own "local" repositories. Todo that, publish your repository.json and your scriptfiles online and spread your repository link.

JSON-Format

pyTSon will download your repository file including the meta data of your plugins. This file needs to contain a JSON string (and only that!), comprising a list of objects. An example can be found in repository.json.

These objects need to contain at least the keys "name", "author", "version", "apiVersion", "description" and "url" (all string variables) describing your plugin.

The url can link either to a pythoncode file or a ZIP-package.

The keys "platforms" and "dependencies" are optional.

If present, the value of platforms has to be a list of strings, containing the supported platforms (possible values are "Mac", "Windows-32bit", "Windows-64bit", "Linux-32bit" and "Linux-64bit"). If the key platforms is not present, pyTSon will presume, that all platforms are supported.

If present, the value of dependencies is interpreted as object, which can contain a key for each platform (possible values are "Mac", "Windows-32bit", "Windows-64bit", "Linux-32bit" and "Linux-64bit"), whose value has to be a list of strings. Each strings represents a python package name from the Python Package Index and will be installed automatically during the installation process. (The strings are directly processed with the local pip installation, so you can restrict a package to a version number: pip==9.0.1 would install pip in version 9.0.1)

pytson_repository's People

Contributors

bluscream avatar pathmann avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

pytson_repository's Issues

Replace servertree with custom serverview

Would that be possible? If yes, how? :o A similar approach to the tweakUI example?

Btw it seems like there are still some issues with the plugin:

5/21/2017 18:05:08	ClientUI	Info	Calling plugin onMenuItemEvent: scHandlerID=2type=0, menuItemID=91, selectedItemID=0	
5/21/2017 18:05:08	pyTSon.PluginHost.registerCallbackProxy	Info	Callbackproxy DragDropServerviewModel registered	
5/21/2017 18:05:08	pyTSon.PluginHost.unregisterCallbackProxy	Info	Callbackproxy DragDropServerviewModel unregistered	
5/21/2017 18:05:16	pyTSon	Error	Calling onClientMoveEvent failed with error "Error calling method
Traceback (most recent call last):
  File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/scripts\pluginhost.py", line 403, in callMethod
    meth(*args)
  File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/include\ts3widgets\serverview.py", line 1077, in onClientMoveEvent
    oldchan.remove(obj)
  File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/include\ts3widgets\serverview.py", line 105, in remove
    self.clients.remove(obj)
ValueError: list.remove(x): x not in list

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:/Users/blusc/AppData/Roaming/TS3Client/plugins/pyTSon/scripts\pluginhost.py", line 408, in callMethod
    trace=traceback.format_exc()))
OSError: [Errno 22] Invalid argument
"
5/21/2017 18:05:17	pyTSon.ts3widgets	Error	Error getting client talkpower (490): 512
5/21/2017 18:05:17	pyTSon.ts3widgets	Error	Error getting client inputdeactivated flag (490): 512	

Translation example

Could you update one of your plugins with a translation as a showcase for pylupdate?

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.