Skip to content

Commit

Permalink
update .wox file
Browse files Browse the repository at this point in the history
  • Loading branch information
ashu-tosh-kumar committed Jan 4, 2025
1 parent ae76bbf commit 53026d8
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 48 deletions.
Binary file modified Wox.Plugin.eDict.wox
Binary file not shown.
12 changes: 11 additions & 1 deletion lib/AUTHORS.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,44 @@ Cees Timmerman https://github.com/CTimmerman
Chris Clark
Christopher Lambert https://github.com/XN137
Chris Woerz https://github.com/erendrake
Corey Bryant https://github.com/coreycb
Daniel Shimon https://github.com/daniel-shimon
Edd Barrett https://github.com/vext01
Eugene Yang https://github.com/eugene-yang
Felix Yan https://github.com/felixonmars
Fredrik Borg https://github.com/frbor
fthoma https://github.com/fthoma
Greg Witt https://github.com/GoodGuyGregory
hinlader https://github.com/hinlader
Hugo https://github.com/hugovk
Hugo van Kemenade https://github.com/hugovk
Hynek Cernoch https://github.com/hynekcer
Jason R. Coombs https://github.com/jaraco
Jon Crall https://github.com/Erotemic
Jonathan Slenders https://github.com/jonathanslenders
JustAShoeMaker https://github.com/JustAShoeMaker
Marcelo Glezer https://github.com/gato
masajxxx https://github.com/masajxxx
Maximilian Hils https://github.com/mhils
mgunyho https://github.com/mgunyho
Michał Górny https://github.com/mgorny
Nicola Guerrera https://github.com/nik012003
Nikolaos-Digenis Karagiannis https://github.com/Digenis
Nils Ohlmeier https://github.com/nils-ohlmeier
Orson Peters https://github.com/orlp
pgajdos https://github.com/pgajdos
PirateOfAndaman https://github.com/PirateOfAndaman
Six https://github.com/brbsix
Stefan Devai https://github.com/stefandevai
Stephen Finucane https://github.com/stephenfin
Stefan Scherfke https://github.com/sscherfke
Steve Elam
Tamir Bahar https://github.com/tmr232
Terrel Shumway https://github.com/lernisto
Tim Cuthbertson https://github.com/timbertson
Tim Gates https://github.com/timgates42
Todd Leonhardt https://github.com/tleonhardt
Troy Sankey https://github.com/pwnage101
utagawa kiki https://github.com/utgwkk
Vertliba V.V. https://github.com/vertliba
Vince West https://github.com/dvincentwest
ZEDGR https://github.com/ZEDGR
76 changes: 40 additions & 36 deletions lib/PKG-INFO
Original file line number Diff line number Diff line change
@@ -1,41 +1,12 @@
Metadata-Version: 1.1
Metadata-Version: 2.1
Name: pyperclip
Version: 1.8.2
Version: 1.9.0
Summary: A cross-platform clipboard module for Python. (Only handles plain text for now.)
Home-page: https://github.com/asweigart/pyperclip
Author: Al Sweigart
Author-email: [email protected]
License: BSD
Description: Pyperclip is a cross-platform Python module for copy and paste clipboard functions. It works with Python 2 and 3.

Install on Windows: `pip install pyperclip`

Install on Linux/macOS: `pip3 install pyperclip`

Al Sweigart [email protected]
BSD License

Example Usage
=============

>>> import pyperclip
>>> pyperclip.copy('The text to be copied to the clipboard.')
>>> pyperclip.paste()
'The text to be copied to the clipboard.'


Currently only handles plaintext.

On Windows, no additional modules are needed.

On Mac, this module makes use of the pbcopy and pbpaste commands, which should come with the os.

On Linux, this module makes use of the xclip or xsel commands, which should come with the os. Otherwise run "sudo apt-get install xclip" or "sudo apt-get install xsel" (Note: xsel does not always seem to work.)

Otherwise on Linux, you will need the gtk or PyQt4 modules installed.

Keywords: clipboard copy paste clip xsel xclip
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Win32 (MS Windows)
Classifier: Environment :: X11 Applications
Expand All @@ -45,15 +16,48 @@ Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
License-File: LICENSE.txt
License-File: AUTHORS.txt

Pyperclip is a cross-platform Python module for copy and paste clipboard functions. It works with Python 2 and 3.

Install on Windows: `pip install pyperclip`

Install on Linux/macOS: `pip3 install pyperclip`

Al Sweigart [email protected]
BSD License

Example Usage
=============

>>> import pyperclip
>>> pyperclip.copy('The text to be copied to the clipboard.')
>>> pyperclip.paste()
'The text to be copied to the clipboard.'


Currently only handles plaintext.

On Windows, no additional modules are needed.

On Mac, this module makes use of the pbcopy and pbpaste commands, which should come with the os.

On Linux, this module makes use of the xclip or xsel commands, which should come with the os. Otherwise run "sudo apt-get install xclip" or "sudo apt-get install xsel" (Note: xsel does not always seem to work.)

Otherwise on Linux, you will need the qtpy or PyQT5 modules installed.

Support
-------

If you find this project helpful and would like to support its development, [consider donating to its creator on Patreon](https://www.patreon.com/AlSweigart).
7 changes: 6 additions & 1 deletion lib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,9 @@ On Mac, this module makes use of the pbcopy and pbpaste commands, which should c

On Linux, this module makes use of the xclip or xsel commands, which should come with the os. Otherwise run "sudo apt-get install xclip" or "sudo apt-get install xsel" (Note: xsel does not always seem to work.)

Otherwise on Linux, you will need the gtk or PyQt4 modules installed.
Otherwise on Linux, you will need the qtpy or PyQT5 modules installed.

Support
-------

If you find this project helpful and would like to support its development, [consider donating to its creator on Patreon](https://www.patreon.com/AlSweigart).
12 changes: 6 additions & 6 deletions lib/setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import re
from setuptools import setup, find_packages

from setuptools import find_packages, setup

# Load version from module (without loading the whole module)
with open('src/pyperclip/__init__.py', 'r') as fd:
Expand Down Expand Up @@ -34,17 +35,16 @@
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
)

8 changes: 4 additions & 4 deletions lib/src/pyperclip/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,14 @@
import time
import warnings
from ctypes import c_size_t, c_wchar, c_wchar_p, get_errno, sizeof
from typing import Optional, Union

_IS_RUNNING_PYTHON_2 = sys.version_info[0] == 2 # type: bool

# For paste(): Python 3 uses str, Python 2 uses unicode.
if _IS_RUNNING_PYTHON_2:
# mypy complains about `unicode` for Python 2, so we ignore the type error:
_PYTHON_STR_TYPE = unicode # noqa: F821
_PYTHON_STR_TYPE = unicode # type: ignore
else:
_PYTHON_STR_TYPE = str

Expand All @@ -74,7 +75,7 @@ def _py3_executable_exists(name): # type: (str) -> bool
except ImportError:
# Use the "which" unix command for Python 2.7 and prior.
def _py2_executable_exists(name): # type: (str) -> bool
return subprocess.Popen(['which', name],
return subprocess.call(['which', name],
stdout=subprocess.PIPE, stderr=subprocess.PIPE) == 0
_executable_exists = _py2_executable_exists

Expand Down Expand Up @@ -292,11 +293,9 @@ def __call__(self, *args, **kwargs):
raise PyperclipException('Pyperclip could not find a copy/paste mechanism for your system. For more information, please visit https://pyperclip.readthedocs.io/en/latest/index.html#not-implemented-error' + additionalInfo)

if _IS_RUNNING_PYTHON_2:
# file deepcode ignore MissingParameter
def __nonzero__(self):
return False
else:
# file deepcode ignore MissingParameter
def __bool__(self):
return False

Expand Down Expand Up @@ -667,3 +666,4 @@ def is_available():

__all__ = ['copy', 'paste', 'set_clipboard', 'determine_clipboard']


0 comments on commit 53026d8

Please sign in to comment.