A clipboard where a user can add and retrieve multiple items to and from (resp) from the clipboard cache.

Related tags

Miscellaneouspython3
Overview

What is a multi-clipboard?

We’ve all been there: you try to copy and paste a link or address, only to realize you’ve already overwritten your clipboard with something else (note that this issue has been resolved using the updated clipboard in Windows 10 tho).

Now, a multi-clipboard is one in which you can add multiple items to the clipboard cache (i.e., you can copy multiple items to the clipboard without worring about the successive items overwriting the preceeding ones). Each item in the clipboard is associated with a key, using which you can access the item. Note, that by 'accessing the item' we mean that 'bringing the item to the top' in the clipboard cache - if item I is at the top, hitting CTRL+V will paste I on the editor/window.

Here is an implementation of multi-clipboard in Python 3, and it is only a single minimalistic script.

Commands

If you're on Linux/Mac, use python3 instead of python.

Adding to the clipboard cache

In this project's root directory, open the command line/terminal, enter:

$ python clipb.py save

Copy whatever you want from any window using CTRL+V (say, I copied this). The terminal prompts you to enter a key for the item that you just copied:

key : 'wikipedia link'

Visualizing the cache

$ python clipb.py list

Will result in

wikipedia link : https://en.wikipedia.org/wiki/Main_Page

If you have multiple items in it,

wikipedia link : https://en.wikipedia.org/wiki/Main_Page
toi headlines : https://toi.org/headlines

Pasting

$ python clipb.py load
key : 'toi headlines' 

CTRL + V gives you : https://toi.org/headlines

Refreshing and Deleting

Refreshing:

$ python clipb.py refresh 

Deleting

$ python clib.py del 
key : 'movie link' 
Owner
Gaurav Bhattacharjee
Sophomore CSE @ nits | Deep neural net governed by the objective function of curiosity
Gaurav Bhattacharjee
Modern robots.txt Parser for Python

Robots Exclusion Protocol Parser for Python Robots.txt parsing in Python. Goals Fetching -- helper utilities for fetching and parsing robots.txts, inc

Moz 176 Dec 16, 2022
Herramienta para poder automatizar reuniones en Zoom.

Crear Reunión Zoom con Python Herramienta para poder automatizar reuniones en Zoom. Librerías Requeridas Nombre Comando PyAutoGui pip install pyautogu

JkDev 3 Nov 12, 2022
A python library with various gambling and gaming classes

gamble is a simple library that implements a collection of some common gambling-related classes Features die, dice, d-notation cards, decks, hands pok

Jacobi Petrucciani 16 May 24, 2022
A program that takes Python classes and turns them into CSS classes.

PyCSS What is it? PyCSS is a micro-framework to speed up the process of writing bulk CSS classes. How does it do it? With Python!!! First download the

T.R Batt 0 Aug 03, 2021
Explore related sequences in the OEIS

OEIS explorer This is a tool for exploring two different kinds of relationships between sequences in the OEIS: mentions (links) of other sequences on

Alex Hall 6 Mar 15, 2022
Tutorials for on-ramping to StarkNet

Full-Stack StarkNet Repo containing the code for a short tutorial series I wrote while diving into StarkNet and learning Cairo. Aims to onramp existin

Sam Barnes 71 Dec 07, 2022
Small scripts to learn about GNOME internals

gnome-hacks This is a collection of APIs that allow programmatic manipulation of the GNOME shell. If you use GNOME (the default graphical shell in Ubu

Alex Nichol 5 Oct 22, 2021
About Python's multithreading and GIL

About Python's multithreading and GIL

Souvik Ghosh 3 Mar 01, 2022
A fancy and practical functional tools

Funcy A collection of fancy functional tools focused on practicality. Inspired by clojure, underscore and my own abstractions. Keep reading to get an

Alexander Schepanovski 2.9k Dec 29, 2022
A test repository to build a python package and publish the package to Artifact Registry using GCB

A test repository to build a python package and publish the package to Artifact Registry using GCB. Then have the package be a dependency in a GCF function.

1 Feb 09, 2022
This is a simple leaderboard for 30 days of Google Cloud program for students of ASIET

30daysleaderboard #Hacktoberfest - Please don't make changes in readme file. Only improvement in the project will be accepted. Update - Now if you run

5 Oct 29, 2021
MinimalGearDisplay, Assetto Corsa app

MinimalGearDisplay MinimalGearDisplay, Assetto Corsa app. Just displays the current gear you are on. Download and Install To use this app, clone or do

1 Jan 10, 2022
bib2xml - A tool for getting Word formatted XML from Bibtex files

bib2xml - A tool for getting Word formatted XML from Bibtex files Processes Bibtex files (.bib), produces Word Bibliography XML (.xml) output Why not

Matheus Sartor 1 May 05, 2022
A python trivium implemention

A python trivium implemention

tnt2402 1 Nov 12, 2021
万能通用对象池,可以池化任意自定义类型的对象。

pip install universal_object_pool 此包能够将一切任意类型的python对象池化,是万能池,适用范围远大于单一用途的mysql连接池 http连接池等。 框架使用对象池包,自带实现了4个对象池。可以直接开箱用这四个对象池,也可以作为例子学习对象池用法。

12 Dec 15, 2022
A server shell for you to play with Powered by Django + Nginx + Postgres + Bootstrap + Celery.

A server shell for you to play with Powered by Django + Nginx + Postgres + Bootstrap + Celery.

Mengting Song 1 Jan 10, 2022
carrier.py is a Python package/module that's used to save time when programming

carrier.py is a Python package/module that's used to save time when programming, it helps with functions such as 24 and 12 hour time, Discord webhooks, etc

Zacky2613 2 Mar 20, 2022
Test pour savoir si je suis capable de paratger une lib avec le monde entier !!

Data analysis Document here the project: MLproject Description: Project Description Data Source: Type of analysis: Please document the project the bet

Lucas_Penarrubia 0 Jan 18, 2022
Practice in Oxford_AI&ML class

Practice in Oxford_AI&ML class

St3ve Lee 2 Feb 04, 2022
Old versions of Deadcord that are problematic or used as reference.

⚠️ Unmaintained and broken. We have decided to release the old version of Deadcord before our v1.0 rewrite. (which will be equiped with much more feat

Galaxzy 1 Feb 10, 2022