You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

pastoke

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pastoke - pypi Package Compare versions

Comparing version
0.1.0
to
0.1.1
+1
pastoke.egg-info/dependency_links.txt
Metadata-Version: 2.1
Name: pastoke
Version: 0.1.1
Summary: paste jokes script
Home-page: https://github.com/streanger/pastoke
Author: streanger
Author-email: divisionexe@gmail.com
License: MIT
Description: Pastoke
===========
Script for log, clear or replace clipboard with using 'pyperclip'
Install
===========
.. code-block:: python
pip install pastoke
Usage
===========
.. code-block:: python
from pastoke import log_changes, clear_clipboard, replace_clipboard
# log clipboard to log.txt file. Default path is python exe dir
log_changes()
# clear clipboard
clear_clipboard()
# replace clipboard with specified phrase
replace_clipboard(search='test', thing='trick')
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
README.rst
setup.cfg
setup.py
pastoke/__init__.py
pastoke/pastoke.py
pastoke.egg-info/PKG-INFO
pastoke.egg-info/SOURCES.txt
pastoke.egg-info/dependency_links.txt
pastoke.egg-info/requires.txt
pastoke.egg-info/top_level.txt
Pastoke
===========
Script for log, clear or replace clipboard with using 'pyperclip'
Install
===========
.. code-block:: python
pip install pastoke
Usage
===========
.. code-block:: python
from pastoke import log_changes, clear_clipboard, replace_clipboard
# log clipboard to log.txt file. Default path is python exe dir
log_changes()
# clear clipboard
clear_clipboard()
# replace clipboard with specified phrase
replace_clipboard(search='test', thing='trick')
[metadata]
description-file = README.rst
[egg_info]
tag_build =
tag_date = 0
import setuptools
with open("README.rst", "r") as fh:
long_description = fh.read()
setuptools.setup(
name='pastoke',
version='0.1.1',
author="streanger",
author_email="divisionexe@gmail.com",
description="paste jokes script",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/streanger/pastoke",
packages=['pastoke',],
license='MIT',
install_requires=['pyperclip'],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)
+5
-3
'''
paste_log.py, version 1.0.1
paste_log.py, version 0.1.1
script for logging copy-paste content

@@ -69,6 +69,8 @@ pyinstaller proper command:

hide_console()
last_content = ""
while True:
content = pyperclip.paste()
if content == search: # this is the simplest condition; thinkg of regex etc
pyperclip.copy(thing)
if content != last_content: # this is the simplest condition; thinkg of regex etc
pyperclip.copy(content.replace(search, thing))
last_content = content
time.sleep(timeout)

@@ -75,0 +77,0 @@ return True

Metadata-Version: 2.1
Name: pastoke
Version: 0.1.0
Summary: paste joke scritp
Version: 0.1.1
Summary: paste jokes script
Home-page: https://github.com/streanger/pastoke

@@ -6,0 +6,0 @@ Author: streanger

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

pyperclip
README.rst
setup.cfg
setup.py
pastoke/__init__.py
pastoke/pastoke.py
pastoke.egg-info/PKG-INFO
pastoke.egg-info/SOURCES.txt
pastoke.egg-info/dependency_links.txt
pastoke.egg-info/requires.txt
pastoke.egg-info/top_level.txt
pastoke

Sorry, the diff of this file is not supported yet