tobywf / pasteboard Goto Github PK
View Code? Open in Web Editor NEWUNSUPPORTED Pasteboard - Python interface for NSPasteboard (macOS clipboard)
Home Page: https://pypi.org/project/pasteboard/
License: Mozilla Public License 2.0
UNSUPPORTED Pasteboard - Python interface for NSPasteboard (macOS clipboard)
Home Page: https://pypi.org/project/pasteboard/
License: Mozilla Public License 2.0
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pip/_vendor/pep517/wrappers.py", line 265, in _call_hook
raise BackendUnavailable(data.get('traceback', ''))
pip._vendor.pep517.wrappers.BackendUnavailable: Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/pip/_vendor/pep517/_in_process.py", line 86, in _build_backend
obj = import_module(mod_path)
File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 972, in _find_and_load_unlocked
File "", line 228, in _call_with_frames_removed
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 984, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'setuptools'
Looking forward, thanks.
Sorry, I no longer have the time to keep up with Python, and so lack the expertise to maintain this package.
If you would like to take over the project, feel free to cut a PR to update the supported Python versions, and ideally a solution to the lack of ARM64 (i.e. M1/M2) wheels. I'm willing to discuss transferring ownership to a new maintainer with the time and skills.
Hi Tobywf, first of all a BIG thank you for this very useful library.
I use pasteboard on a few small app to analyze dragged and dropped files, however I'm now switching to Python 3.10 and pip installing your library now throws an error.
Am I doing something wrong? Sorry but I'm fairly new to the Python world, thanks and sorry to bother you!
Angelo
MacOS version:10.14.6 Mojave
pip install pasteboard
output:
https://gist.github.com/TheColdVoid/9e3e03add3589086943da923ae64558f
How can I solve this problem? Looking forward to your reply,thanks.
In pandas-dev/pandas#40101, we found that pasteboard
cannot be installed via pip on macOS 10.14 Mojave.
It causes ERROR: Could not build wheels for pasteboard which use PEP 517 and cannot be installed directly
. See https://dev.azure.com/pandas-dev/pandas/_build/results?buildId=55179&view=logs&j=b516280a-8c75-541b-8ba0-ae13561718a7&t=a9217cb1-24f6-5625-717d-72085a70e1d3&l=394 for detail.
But it works on macOS 10.15 Catalina.
Pasteboard currently has no arm64 wheels, which can cause installs to fail on M1 MacBooks.
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
is issued by pasteboard in all apps calling it from Python 3.8. This is using version 0.2.0, which is the latest available to pip3 install. Perhaps that needs upgrade/recompilation.
DeprecationWarning: PY_SSIZE_T_CLEAN will be required for '#' formats
is issued by all python programs running pasteboard in Python 3.8
Hey there! I tried to install pasteboard with pip install pasteboard
on python v3.11.2 and macos v13.2.1 and received the following error:
Python 3.11.2 (main, Feb 16 2023, 03:07:35) [Clang 14.0.0 (clang-1400.0.29.202)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pasteboard
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/ndemir/engineer/turbo/pyturbo/.venv/lib/python3.11/site-packages/pasteboard/__init__.py", line 10, in <module>
from ._native import *
ModuleNotFoundError: No module named 'pasteboard._native'
Hi there, thanks so much for making this package!
I have a request and I hope it's not too much trouble to implement. I was wondering if the fileURL pasteboardtype could be supported.
This way, it can be easy for my program to work with files that are copied from finder.
Inspecting the clipboard after copying a file from finder shows that it's exposed, among other things, as a file url type. It would be nice to be able to retrieve these contents using pasteboard
Would writing to the pasteboard be a feature you'd consider adding? It would make this module much simpler to use than calling into PyObjC for that.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.