Open this-is-yaash opened 4 days ago
Assignees are instructed to use the development branch to work on this issue, when getting assigned!
Use the following command!
git fetch origin
git checkout 100-feature-request-implement-clipboard-feature-into-modelspy
hey @this-is-yaash, I'd love to workon this issue!
here’s my approach ->
we can implement the clipboard feature in models.py
using the pyperclip
library. The display
function wd accept an optional clipboard arg, which will then copy the content to system clipboard instead of printing it to the console
If this approach works, could you please assign the issue to me?
hey @this-is-yaash, I'd love to workon this issue!
here’s my approach ->
we can implement the clipboard feature in
models.py
using thepyperclip
library. Thedisplay
function wd accept an optional clipboard arg, which will then copy the content to system clipboard instead of printing it to the consoleIf this approach works, could you please assign the issue to me?
sry but using external libs are not allowed, in order to maintain lightweight package and to allow faster execution and insallation.
I would say that you don't have to do anything advanced stuffs,
just see graph.py
file and integrate them into models.
But should execute based on the argument!
In simple terms, everything has already been implemented!
Just try to integrate them into the models.py
, that's it!
I hope you understand, please raise a question if you don't get i!
The issue will be assigned to those who come up with the valid explanation of what they plan to do to implement the featue!
Ah, okay!
so I’ll just take the clipboard logic from graph.py
and add an extra argument in the display
function in models.py
to handle it. So if that argument is passed, it copies to the clipboard instead of doing the usual stuff.
right?
My idea is to execute it that way,
from pacakge.models import display
display("test", 1212, 1)
if have have any other alternative method to implement, please let me know!
@yasheela-alla
You're the wizard for this one! Let's make magic happen!
Haha Thank you @ShashwatAgrawal20
I will like to work for this project
its already assigned to @yasheela-alla
This file has already implemented copy to clipboard feature, integrate this feature into
models.py
.Requirement:
models.py
.Example:
Here' the execution of models feature is same, but with extra argument being passed(i,e.
1
)Display feature(What we already have!):
Output:
Copy to clipboard feature (Required feature to be implemented)
Should copy contents into system's clipboard without displaying the output in console.
The above feature explains the requirement of copy to clipboard feature inside
models.py
.Share your ideas & thoughts on how you are planning to do this to get assigned!