AmateursLeague / sneaky-package

A ready-to-deploy Python package designed to 🕵️‍♂️ stealthily integrate files within a machine, ensuring 🛡️ discreet and seamless file operations without detection.
https://amateursleague.github.io/sneaky-package/
GNU General Public License v3.0
16 stars 44 forks source link

Feature Request: Implement clipboard feature into `show.py` #100

Open this-is-yaash opened 4 days ago

this-is-yaash commented 4 days ago

This file has already implemented copy to clipboard feature, integrate this feature into models.py.

Requirement:

Example:

from package.models import display
display("file", 1212, 1)

Here' the execution of models feature is same, but with extra argument being passed(i,e. 1)

  1. Display feature(What we already have!):

    from pacakge.models import display
    display("test", 1212)

    Output:

    print("If it's visible, then it's good to go!")
  2. Copy to clipboard feature (Required feature to be implemented)

from pacakge.models import display
display("test", 1212, 1)

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!

this-is-yaash commented 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
yasheela-alla commented 4 days ago

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?

this-is-yaash commented 4 days ago

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?

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!

yasheela-alla commented 4 days ago

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?

this-is-yaash commented 4 days ago

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!

ShashwatAgrawal20 commented 4 days ago

@yasheela-alla

You're the wizard for this one! Let's make magic happen!

assigned

yasheela-alla commented 4 days ago

Haha Thank you @ShashwatAgrawal20

Iammohitraj2 commented 3 days ago

I will like to work for this project

Wahid7852 commented 3 days ago

its already assigned to @yasheela-alla