ShawnDEvans / smbmap

SMBMap is a handy SMB enumeration tool
GNU General Public License v3.0
1.76k stars 343 forks source link

Make a pypi package #48

Closed maaaaz closed 1 year ago

maaaaz commented 4 years ago

@ShawnDEvans, it would help people and maintainers if you could package smbmap in a standard Python package that could be available on pypi.org.

Take a look at my simple packages, like nmaptocsv, it's quite easy :)

ShawnDEvans commented 4 years ago

You know I tried this not too long ago, and failed hard ha. I'll try to revist once I have some more time. I had it up on PyPi, but it was installed like a library vs something you could execute. I need to do some more research, thanks for the link. This is def on my radar.

maaaaz commented 4 years ago

installed like a library vs something you could execute: I know what you mean, yes there are some traps not fall into.

If I find some time I'll prepare the package and show you how to use it ! You will just have to upload it with your account on pypi.

jayrod commented 2 years ago

I would like to help with this item as well. As I would like to use smbmap as a library and as a CLI tool.

alichtman commented 1 year ago

Hey @ShawnDEvans,

I created https://pypi.org/project/smbmap/1.8.2/. Happy to add you as a maintainer if you comment your pypi handle.

ShawnDEvans commented 1 year ago

This is awesome, thanks for doing this! At some point a while ago I tried to go the PyPi route and failed spectacularly at packaging it up correctly ha. So, thanks again!

-Shawn

On Sat, Mar 25, 2023 at 1:29 AM Aaron Lichtman @.***> wrote:

Hey @ShawnDEvans https://github.com/ShawnDEvans,

I created https://pypi.org/project/smbmap/1.8.2/. Happy to add you as a maintainer if you comment your pypi handle.

— Reply to this email directly, view it on GitHub https://github.com/ShawnDEvans/smbmap/issues/48#issuecomment-1483729924, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6SKWEP2TNA6FZ5Y757X4DW5Z7CHANCNFSM4MKHTVYA . You are receiving this because you were mentioned.Message ID: @.***>

maaaaz commented 1 year ago

Thank you all

alichtman commented 1 year ago

@ShawnDEvans optimally, I wouldn't be responsible for creating a new pypi release every time you cut a new release on github. Github Actions supports creating a new pypi release automatically. For you to set this up, you'd need to:

  1. create a PyPi account
  2. be added as a maintainer of the smbmap package
  3. configure the python-publish.yml action with your PyPi API key

Would you be interested in setting this up?

ShawnDEvans commented 1 year ago

I'm just thrilled you set it up once man! I'm down for taking a stab at figuring it out. Thanks for the assistance. I may reach out if I got a wall. Thanks!

On Fri, May 19, 2023, 11:33 PM Aaron Lichtman @.***> wrote:

@ShawnDEvans https://github.com/ShawnDEvans optimally, I wouldn't be responsible for creating a new pypi release every time you cut a new release on github. Github Actions supports creating a new pypi release automatically. For you to set this up, you'd need to:

  1. create a PyPi account
  2. be added as a maintainer of the smbmap package
  3. configure the python-publish.yml action with your PyPi API key

Would you be interested in setting this up?

— Reply to this email directly, view it on GitHub https://github.com/ShawnDEvans/smbmap/issues/48#issuecomment-1555453097, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6SKWBP73B7WRGKJPG6VV3XHA3QTANCNFSM4MKHTVYA . You are receiving this because you were mentioned.Message ID: @.***>

alichtman commented 1 year ago

Another possibility would be adding me as a maintainer of this repo, and I can set up the action.