gtfobins-cli 1.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (274) hide show
  1. gtfobins_cli-1.0.0/.github/workflows/build.yml +31 -0
  2. gtfobins_cli-1.0.0/.github/workflows/publish.yml +37 -0
  3. gtfobins_cli-1.0.0/.gitignore +85 -0
  4. gtfobins_cli-1.0.0/LICENSE +674 -0
  5. gtfobins_cli-1.0.0/MANIFEST.in +3 -0
  6. gtfobins_cli-1.0.0/PKG-INFO +188 -0
  7. gtfobins_cli-1.0.0/README.md +148 -0
  8. gtfobins_cli-1.0.0/README.zh-cn.md +49 -0
  9. gtfobins_cli-1.0.0/gtfo/__init__.py +2 -0
  10. gtfobins_cli-1.0.0/gtfo/cli.py +90 -0
  11. gtfobins_cli-1.0.0/gtfo/data/apt-get.json +24 -0
  12. gtfobins_cli-1.0.0/gtfo/data/apt.json +24 -0
  13. gtfobins_cli-1.0.0/gtfo/data/ar.json +20 -0
  14. gtfobins_cli-1.0.0/gtfo/data/aria2c.json +24 -0
  15. gtfobins_cli-1.0.0/gtfo/data/arp.json +20 -0
  16. gtfobins_cli-1.0.0/gtfo/data/ash.json +24 -0
  17. gtfobins_cli-1.0.0/gtfo/data/at.json +20 -0
  18. gtfobins_cli-1.0.0/gtfo/data/atobm.json +20 -0
  19. gtfobins_cli-1.0.0/gtfo/data/awk.json +46 -0
  20. gtfobins_cli-1.0.0/gtfo/data/base32.json +19 -0
  21. gtfobins_cli-1.0.0/gtfo/data/base64.json +19 -0
  22. gtfobins_cli-1.0.0/gtfo/data/basenc.json +19 -0
  23. gtfobins_cli-1.0.0/gtfo/data/bash.json +69 -0
  24. gtfobins_cli-1.0.0/gtfo/data/bpftrace.json +15 -0
  25. gtfobins_cli-1.0.0/gtfo/data/bundler.json +29 -0
  26. gtfobins_cli-1.0.0/gtfo/data/busctl.json +15 -0
  27. gtfobins_cli-1.0.0/gtfo/data/busybox.json +37 -0
  28. gtfobins_cli-1.0.0/gtfo/data/byebug.json +19 -0
  29. gtfobins_cli-1.0.0/gtfo/data/cancel.json +10 -0
  30. gtfobins_cli-1.0.0/gtfo/data/capsh.json +19 -0
  31. gtfobins_cli-1.0.0/gtfo/data/cat.json +19 -0
  32. gtfobins_cli-1.0.0/gtfo/data/certbot.json +14 -0
  33. gtfobins_cli-1.0.0/gtfo/data/check_by_ssh.json +17 -0
  34. gtfobins_cli-1.0.0/gtfo/data/check_cups.json +15 -0
  35. gtfobins_cli-1.0.0/gtfo/data/check_log.json +20 -0
  36. gtfobins_cli-1.0.0/gtfo/data/check_memory.json +15 -0
  37. gtfobins_cli-1.0.0/gtfo/data/check_raid.json +15 -0
  38. gtfobins_cli-1.0.0/gtfo/data/check_ssl_cert.json +17 -0
  39. gtfobins_cli-1.0.0/gtfo/data/check_statusfile.json +15 -0
  40. gtfobins_cli-1.0.0/gtfo/data/chmod.json +15 -0
  41. gtfobins_cli-1.0.0/gtfo/data/chown.json +15 -0
  42. gtfobins_cli-1.0.0/gtfo/data/chroot.json +14 -0
  43. gtfobins_cli-1.0.0/gtfo/data/cobc.json +14 -0
  44. gtfobins_cli-1.0.0/gtfo/data/column.json +20 -0
  45. gtfobins_cli-1.0.0/gtfo/data/comm.json +19 -0
  46. gtfobins_cli-1.0.0/gtfo/data/composer.json +19 -0
  47. gtfobins_cli-1.0.0/gtfo/data/cowsay.json +15 -0
  48. gtfobins_cli-1.0.0/gtfo/data/cowthink.json +14 -0
  49. gtfobins_cli-1.0.0/gtfo/data/cp.json +32 -0
  50. gtfobins_cli-1.0.0/gtfo/data/cpan.json +33 -0
  51. gtfobins_cli-1.0.0/gtfo/data/cpio.json +48 -0
  52. gtfobins_cli-1.0.0/gtfo/data/cpulimit.json +19 -0
  53. gtfobins_cli-1.0.0/gtfo/data/crash.json +21 -0
  54. gtfobins_cli-1.0.0/gtfo/data/crontab.json +16 -0
  55. gtfobins_cli-1.0.0/gtfo/data/csh.json +24 -0
  56. gtfobins_cli-1.0.0/gtfo/data/csplit.json +19 -0
  57. gtfobins_cli-1.0.0/gtfo/data/csvtool.json +31 -0
  58. gtfobins_cli-1.0.0/gtfo/data/cupsfilter.json +19 -0
  59. gtfobins_cli-1.0.0/gtfo/data/curl.json +34 -0
  60. gtfobins_cli-1.0.0/gtfo/data/cut.json +19 -0
  61. gtfobins_cli-1.0.0/gtfo/data/dash.json +24 -0
  62. gtfobins_cli-1.0.0/gtfo/data/date.json +20 -0
  63. gtfobins_cli-1.0.0/gtfo/data/dd.json +24 -0
  64. gtfobins_cli-1.0.0/gtfo/data/dialog.json +20 -0
  65. gtfobins_cli-1.0.0/gtfo/data/diff.json +19 -0
  66. gtfobins_cli-1.0.0/gtfo/data/dig.json +20 -0
  67. gtfobins_cli-1.0.0/gtfo/data/dmesg.json +22 -0
  68. gtfobins_cli-1.0.0/gtfo/data/dmsetup.json +14 -0
  69. gtfobins_cli-1.0.0/gtfo/data/dnf.json +10 -0
  70. gtfobins_cli-1.0.0/gtfo/data/docker.json +35 -0
  71. gtfobins_cli-1.0.0/gtfo/data/dpkg.json +20 -0
  72. gtfobins_cli-1.0.0/gtfo/data/dvips.json +20 -0
  73. gtfobins_cli-1.0.0/gtfo/data/easy_install.json +53 -0
  74. gtfobins_cli-1.0.0/gtfo/data/eb.json +15 -0
  75. gtfobins_cli-1.0.0/gtfo/data/ed.json +34 -0
  76. gtfobins_cli-1.0.0/gtfo/data/emacs.json +29 -0
  77. gtfobins_cli-1.0.0/gtfo/data/env.json +19 -0
  78. gtfobins_cli-1.0.0/gtfo/data/eqn.json +20 -0
  79. gtfobins_cli-1.0.0/gtfo/data/ex.json +24 -0
  80. gtfobins_cli-1.0.0/gtfo/data/exiftool.json +20 -0
  81. gtfobins_cli-1.0.0/gtfo/data/expand.json +20 -0
  82. gtfobins_cli-1.0.0/gtfo/data/expect.json +19 -0
  83. gtfobins_cli-1.0.0/gtfo/data/facter.json +14 -0
  84. gtfobins_cli-1.0.0/gtfo/data/file.json +26 -0
  85. gtfobins_cli-1.0.0/gtfo/data/find.json +19 -0
  86. gtfobins_cli-1.0.0/gtfo/data/finger.json +17 -0
  87. gtfobins_cli-1.0.0/gtfo/data/flock.json +19 -0
  88. gtfobins_cli-1.0.0/gtfo/data/fmt.json +27 -0
  89. gtfobins_cli-1.0.0/gtfo/data/fold.json +19 -0
  90. gtfobins_cli-1.0.0/gtfo/data/ftp.json +26 -0
  91. gtfobins_cli-1.0.0/gtfo/data/gawk.json +46 -0
  92. gtfobins_cli-1.0.0/gtfo/data/gcc.json +24 -0
  93. gtfobins_cli-1.0.0/gtfo/data/gdb.json +66 -0
  94. gtfobins_cli-1.0.0/gtfo/data/gem.json +28 -0
  95. gtfobins_cli-1.0.0/gtfo/data/genisoimage.json +15 -0
  96. gtfobins_cli-1.0.0/gtfo/data/ghc.json +14 -0
  97. gtfobins_cli-1.0.0/gtfo/data/ghci.json +14 -0
  98. gtfobins_cli-1.0.0/gtfo/data/gimp.json +57 -0
  99. gtfobins_cli-1.0.0/gtfo/data/git.json +55 -0
  100. gtfobins_cli-1.0.0/gtfo/data/grep.json +20 -0
  101. gtfobins_cli-1.0.0/gtfo/data/gtester.json +19 -0
  102. gtfobins_cli-1.0.0/gtfo/data/gzip.json +23 -0
  103. gtfobins_cli-1.0.0/gtfo/data/hd.json +20 -0
  104. gtfobins_cli-1.0.0/gtfo/data/head.json +19 -0
  105. gtfobins_cli-1.0.0/gtfo/data/hexdump.json +20 -0
  106. gtfobins_cli-1.0.0/gtfo/data/highlight.json +19 -0
  107. gtfobins_cli-1.0.0/gtfo/data/hping3.json +19 -0
  108. gtfobins_cli-1.0.0/gtfo/data/iconv.json +25 -0
  109. gtfobins_cli-1.0.0/gtfo/data/iftop.json +20 -0
  110. gtfobins_cli-1.0.0/gtfo/data/install.json +15 -0
  111. gtfobins_cli-1.0.0/gtfo/data/ionice.json +19 -0
  112. gtfobins_cli-1.0.0/gtfo/data/ip.json +28 -0
  113. gtfobins_cli-1.0.0/gtfo/data/irb.json +47 -0
  114. gtfobins_cli-1.0.0/gtfo/data/jjs.json +43 -0
  115. gtfobins_cli-1.0.0/gtfo/data/join.json +19 -0
  116. gtfobins_cli-1.0.0/gtfo/data/journalctl.json +15 -0
  117. gtfobins_cli-1.0.0/gtfo/data/jq.json +19 -0
  118. gtfobins_cli-1.0.0/gtfo/data/jrunscript.json +43 -0
  119. gtfobins_cli-1.0.0/gtfo/data/ksh.json +60 -0
  120. gtfobins_cli-1.0.0/gtfo/data/ksshell.json +20 -0
  121. gtfobins_cli-1.0.0/gtfo/data/latex.json +29 -0
  122. gtfobins_cli-1.0.0/gtfo/data/latexmk.json +27 -0
  123. gtfobins_cli-1.0.0/gtfo/data/ld.so.json +20 -0
  124. gtfobins_cli-1.0.0/gtfo/data/ldconfig.json +17 -0
  125. gtfobins_cli-1.0.0/gtfo/data/less.json +40 -0
  126. gtfobins_cli-1.0.0/gtfo/data/logsave.json +19 -0
  127. gtfobins_cli-1.0.0/gtfo/data/look.json +19 -0
  128. gtfobins_cli-1.0.0/gtfo/data/ltrace.json +26 -0
  129. gtfobins_cli-1.0.0/gtfo/data/lua.json +58 -0
  130. gtfobins_cli-1.0.0/gtfo/data/lualatex.json +20 -0
  131. gtfobins_cli-1.0.0/gtfo/data/luatex.json +20 -0
  132. gtfobins_cli-1.0.0/gtfo/data/lwp-download.json +26 -0
  133. gtfobins_cli-1.0.0/gtfo/data/lwp-request.json +14 -0
  134. gtfobins_cli-1.0.0/gtfo/data/mail.json +20 -0
  135. gtfobins_cli-1.0.0/gtfo/data/make.json +26 -0
  136. gtfobins_cli-1.0.0/gtfo/data/man.json +24 -0
  137. gtfobins_cli-1.0.0/gtfo/data/mawk.json +34 -0
  138. gtfobins_cli-1.0.0/gtfo/data/more.json +24 -0
  139. gtfobins_cli-1.0.0/gtfo/data/mount.json +10 -0
  140. gtfobins_cli-1.0.0/gtfo/data/mtr.json +15 -0
  141. gtfobins_cli-1.0.0/gtfo/data/mv.json +15 -0
  142. gtfobins_cli-1.0.0/gtfo/data/mysql.json +26 -0
  143. gtfobins_cli-1.0.0/gtfo/data/nano.json +34 -0
  144. gtfobins_cli-1.0.0/gtfo/data/nawk.json +46 -0
  145. gtfobins_cli-1.0.0/gtfo/data/nc.json +40 -0
  146. gtfobins_cli-1.0.0/gtfo/data/nice.json +19 -0
  147. gtfobins_cli-1.0.0/gtfo/data/nl.json +20 -0
  148. gtfobins_cli-1.0.0/gtfo/data/nmap.json +82 -0
  149. gtfobins_cli-1.0.0/gtfo/data/node.json +58 -0
  150. gtfobins_cli-1.0.0/gtfo/data/nohup.json +24 -0
  151. gtfobins_cli-1.0.0/gtfo/data/npm.json +14 -0
  152. gtfobins_cli-1.0.0/gtfo/data/nroff.json +20 -0
  153. gtfobins_cli-1.0.0/gtfo/data/nsenter.json +14 -0
  154. gtfobins_cli-1.0.0/gtfo/data/octave-cli.json +30 -0
  155. gtfobins_cli-1.0.0/gtfo/data/od.json +20 -0
  156. gtfobins_cli-1.0.0/gtfo/data/openssl.json +55 -0
  157. gtfobins_cli-1.0.0/gtfo/data/openvpn.json +28 -0
  158. gtfobins_cli-1.0.0/gtfo/data/openvt.json +10 -0
  159. gtfobins_cli-1.0.0/gtfo/data/paste.json +19 -0
  160. gtfobins_cli-1.0.0/gtfo/data/pdb.json +15 -0
  161. gtfobins_cli-1.0.0/gtfo/data/pdflatex.json +29 -0
  162. gtfobins_cli-1.0.0/gtfo/data/pdftex.json +19 -0
  163. gtfobins_cli-1.0.0/gtfo/data/perl.json +35 -0
  164. gtfobins_cli-1.0.0/gtfo/data/pg.json +24 -0
  165. gtfobins_cli-1.0.0/gtfo/data/php.json +70 -0
  166. gtfobins_cli-1.0.0/gtfo/data/pic.json +19 -0
  167. gtfobins_cli-1.0.0/gtfo/data/pico.json +34 -0
  168. gtfobins_cli-1.0.0/gtfo/data/pip.json +53 -0
  169. gtfobins_cli-1.0.0/gtfo/data/pkexec.json +9 -0
  170. gtfobins_cli-1.0.0/gtfo/data/pkg.json +10 -0
  171. gtfobins_cli-1.0.0/gtfo/data/pr.json +20 -0
  172. gtfobins_cli-1.0.0/gtfo/data/pry.json +19 -0
  173. gtfobins_cli-1.0.0/gtfo/data/psql.json +15 -0
  174. gtfobins_cli-1.0.0/gtfo/data/puppet.json +26 -0
  175. gtfobins_cli-1.0.0/gtfo/data/python.json +62 -0
  176. gtfobins_cli-1.0.0/gtfo/data/rake.json +19 -0
  177. gtfobins_cli-1.0.0/gtfo/data/readelf.json +20 -0
  178. gtfobins_cli-1.0.0/gtfo/data/red.json +20 -0
  179. gtfobins_cli-1.0.0/gtfo/data/redcarpet.json +15 -0
  180. gtfobins_cli-1.0.0/gtfo/data/restic.json +20 -0
  181. gtfobins_cli-1.0.0/gtfo/data/rev.json +19 -0
  182. gtfobins_cli-1.0.0/gtfo/data/rlogin.json +11 -0
  183. gtfobins_cli-1.0.0/gtfo/data/rlwrap.json +25 -0
  184. gtfobins_cli-1.0.0/gtfo/data/rpm.json +26 -0
  185. gtfobins_cli-1.0.0/gtfo/data/rpmquery.json +19 -0
  186. gtfobins_cli-1.0.0/gtfo/data/rsync.json +19 -0
  187. gtfobins_cli-1.0.0/gtfo/data/ruby.json +52 -0
  188. gtfobins_cli-1.0.0/gtfo/data/run-mailcap.json +28 -0
  189. gtfobins_cli-1.0.0/gtfo/data/run-parts.json +19 -0
  190. gtfobins_cli-1.0.0/gtfo/data/rview.json +100 -0
  191. gtfobins_cli-1.0.0/gtfo/data/rvim.json +100 -0
  192. gtfobins_cli-1.0.0/gtfo/data/sash.json +19 -0
  193. gtfobins_cli-1.0.0/gtfo/data/scp.json +31 -0
  194. gtfobins_cli-1.0.0/gtfo/data/screen.json +24 -0
  195. gtfobins_cli-1.0.0/gtfo/data/script.json +20 -0
  196. gtfobins_cli-1.0.0/gtfo/data/sed.json +41 -0
  197. gtfobins_cli-1.0.0/gtfo/data/service.json +14 -0
  198. gtfobins_cli-1.0.0/gtfo/data/setarch.json +19 -0
  199. gtfobins_cli-1.0.0/gtfo/data/sftp.json +26 -0
  200. gtfobins_cli-1.0.0/gtfo/data/sg.json +15 -0
  201. gtfobins_cli-1.0.0/gtfo/data/shuf.json +28 -0
  202. gtfobins_cli-1.0.0/gtfo/data/smbclient.json +27 -0
  203. gtfobins_cli-1.0.0/gtfo/data/snap.json +10 -0
  204. gtfobins_cli-1.0.0/gtfo/data/socat.json +46 -0
  205. gtfobins_cli-1.0.0/gtfo/data/soelim.json +20 -0
  206. gtfobins_cli-1.0.0/gtfo/data/sort.json +19 -0
  207. gtfobins_cli-1.0.0/gtfo/data/split.json +31 -0
  208. gtfobins_cli-1.0.0/gtfo/data/sqlite3.json +34 -0
  209. gtfobins_cli-1.0.0/gtfo/data/ss.json +20 -0
  210. gtfobins_cli-1.0.0/gtfo/data/ssh-keygen.json +22 -0
  211. gtfobins_cli-1.0.0/gtfo/data/ssh.json +38 -0
  212. gtfobins_cli-1.0.0/gtfo/data/ssh_keyscan.json +20 -0
  213. gtfobins_cli-1.0.0/gtfo/data/start-stop-daemon.json +19 -0
  214. gtfobins_cli-1.0.0/gtfo/data/stdbuf.json +19 -0
  215. gtfobins_cli-1.0.0/gtfo/data/strace.json +25 -0
  216. gtfobins_cli-1.0.0/gtfo/data/strings.json +20 -0
  217. gtfobins_cli-1.0.0/gtfo/data/su.json +9 -0
  218. gtfobins_cli-1.0.0/gtfo/data/sysctl.json +20 -0
  219. gtfobins_cli-1.0.0/gtfo/data/systemctl.json +21 -0
  220. gtfobins_cli-1.0.0/gtfo/data/tac.json +20 -0
  221. gtfobins_cli-1.0.0/gtfo/data/tail.json +19 -0
  222. gtfobins_cli-1.0.0/gtfo/data/tar.json +51 -0
  223. gtfobins_cli-1.0.0/gtfo/data/taskset.json +19 -0
  224. gtfobins_cli-1.0.0/gtfo/data/tbl.json +20 -0
  225. gtfobins_cli-1.0.0/gtfo/data/tclsh.json +25 -0
  226. gtfobins_cli-1.0.0/gtfo/data/tcpdump.json +15 -0
  227. gtfobins_cli-1.0.0/gtfo/data/tee.json +20 -0
  228. gtfobins_cli-1.0.0/gtfo/data/telnet.json +28 -0
  229. gtfobins_cli-1.0.0/gtfo/data/tex.json +19 -0
  230. gtfobins_cli-1.0.0/gtfo/data/tftp.json +28 -0
  231. gtfobins_cli-1.0.0/gtfo/data/time.json +20 -0
  232. gtfobins_cli-1.0.0/gtfo/data/timeout.json +19 -0
  233. gtfobins_cli-1.0.0/gtfo/data/tmux.json +14 -0
  234. gtfobins_cli-1.0.0/gtfo/data/top.json +16 -0
  235. gtfobins_cli-1.0.0/gtfo/data/troff.json +20 -0
  236. gtfobins_cli-1.0.0/gtfo/data/ul.json +20 -0
  237. gtfobins_cli-1.0.0/gtfo/data/unexpand.json +19 -0
  238. gtfobins_cli-1.0.0/gtfo/data/uniq.json +20 -0
  239. gtfobins_cli-1.0.0/gtfo/data/unshare.json +19 -0
  240. gtfobins_cli-1.0.0/gtfo/data/update-alternatives.json +16 -0
  241. gtfobins_cli-1.0.0/gtfo/data/uuencode.json +19 -0
  242. gtfobins_cli-1.0.0/gtfo/data/valgrind.json +14 -0
  243. gtfobins_cli-1.0.0/gtfo/data/vi.json +28 -0
  244. gtfobins_cli-1.0.0/gtfo/data/view.json +109 -0
  245. gtfobins_cli-1.0.0/gtfo/data/vim.json +109 -0
  246. gtfobins_cli-1.0.0/gtfo/data/vimdiff.json +109 -0
  247. gtfobins_cli-1.0.0/gtfo/data/virsh.json +21 -0
  248. gtfobins_cli-1.0.0/gtfo/data/watch.json +25 -0
  249. gtfobins_cli-1.0.0/gtfo/data/wc.json +20 -0
  250. gtfobins_cli-1.0.0/gtfo/data/wget.json +40 -0
  251. gtfobins_cli-1.0.0/gtfo/data/whois.json +25 -0
  252. gtfobins_cli-1.0.0/gtfo/data/wish.json +20 -0
  253. gtfobins_cli-1.0.0/gtfo/data/xargs.json +35 -0
  254. gtfobins_cli-1.0.0/gtfo/data/xelatex.json +29 -0
  255. gtfobins_cli-1.0.0/gtfo/data/xetex.json +19 -0
  256. gtfobins_cli-1.0.0/gtfo/data/xmodmap.json +20 -0
  257. gtfobins_cli-1.0.0/gtfo/data/xmore.json +20 -0
  258. gtfobins_cli-1.0.0/gtfo/data/xxd.json +24 -0
  259. gtfobins_cli-1.0.0/gtfo/data/xz.json +19 -0
  260. gtfobins_cli-1.0.0/gtfo/data/yelp.json +10 -0
  261. gtfobins_cli-1.0.0/gtfo/data/yum.json +20 -0
  262. gtfobins_cli-1.0.0/gtfo/data/zip.json +24 -0
  263. gtfobins_cli-1.0.0/gtfo/data/zsh.json +29 -0
  264. gtfobins_cli-1.0.0/gtfo/data/zsoelim.json +20 -0
  265. gtfobins_cli-1.0.0/gtfo/data/zypper.json +22 -0
  266. gtfobins_cli-1.0.0/gtfobins_cli.egg-info/PKG-INFO +188 -0
  267. gtfobins_cli-1.0.0/gtfobins_cli.egg-info/SOURCES.txt +273 -0
  268. gtfobins_cli-1.0.0/gtfobins_cli.egg-info/dependency_links.txt +1 -0
  269. gtfobins_cli-1.0.0/gtfobins_cli.egg-info/entry_points.txt +2 -0
  270. gtfobins_cli-1.0.0/gtfobins_cli.egg-info/requires.txt +2 -0
  271. gtfobins_cli-1.0.0/gtfobins_cli.egg-info/top_level.txt +1 -0
  272. gtfobins_cli-1.0.0/pyproject.toml +53 -0
  273. gtfobins_cli-1.0.0/setup.cfg +54 -0
  274. gtfobins_cli-1.0.0/setup.py +52 -0
@@ -0,0 +1,31 @@
1
+ name: Build
2
+
3
+ on:
4
+ push:
5
+ branches: [ master, main ]
6
+ pull_request:
7
+ branches: [ master, main ]
8
+
9
+ jobs:
10
+ build:
11
+ name: Build Package
12
+ runs-on: ubuntu-latest
13
+
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: '3.11'
21
+
22
+ - name: Install dependencies
23
+ run: |
24
+ python -m pip install --upgrade pip
25
+ pip install build
26
+
27
+ - name: Build package
28
+ run: python -m build
29
+
30
+ - name: Check build artifacts
31
+ run: ls -lah dist/
@@ -0,0 +1,37 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+ workflow_dispatch: # Allow manual triggering
8
+
9
+ jobs:
10
+ publish:
11
+ name: Build and Publish to PyPI
12
+ runs-on: ubuntu-latest
13
+
14
+ permissions:
15
+ id-token: write # Required for trusted publishing
16
+
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+
20
+ - name: Set up Python
21
+ uses: actions/setup-python@v5
22
+ with:
23
+ python-version: '3.11'
24
+
25
+ - name: Install build tools
26
+ run: |
27
+ python -m pip install --upgrade pip
28
+ pip install build
29
+
30
+ - name: Build package
31
+ run: python -m build
32
+
33
+ - name: Check distribution
34
+ run: ls -lah dist/
35
+
36
+ - name: Publish to PyPI
37
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,85 @@
1
+ ### VirtualEnv template
2
+ .Python
3
+ [Bb]in
4
+ [Ii]nclude
5
+ [Ll]ib
6
+ [Ll]ib64
7
+ [Ll]ocal
8
+ [Ss]cripts
9
+ pyvenv.cfg
10
+ .venv
11
+ pip-selfcheck.json
12
+
13
+ # Distribution / packaging
14
+ build/
15
+ develop-eggs/
16
+ dist/
17
+ downloads/
18
+ eggs/
19
+ .eggs/
20
+ lib/
21
+ lib64/
22
+ parts/
23
+ sdist/
24
+ var/
25
+ wheels/
26
+ pip-wheel-metadata/
27
+ share/python-wheels/
28
+ *.egg-info/
29
+ .installed.cfg
30
+ *.egg
31
+ MANIFEST
32
+
33
+ # Installer logs
34
+ pip-log.txt
35
+ pip-delete-this-directory.txt
36
+
37
+ # Unit test / coverage reports
38
+ .coverage
39
+ .coverage.*
40
+ .cache
41
+ nosetests.xml
42
+ coverage.xml
43
+ *.cover
44
+ *.py,cover
45
+ .hypothesis/
46
+ .pytest_cache/
47
+
48
+ # pyenv
49
+ .python-version
50
+
51
+ # Environments
52
+ .env
53
+ env/
54
+ venv/
55
+ ENV/
56
+ env.bak/
57
+ venv.bak/
58
+
59
+ .idea/
60
+
61
+ # Python cache
62
+ __pycache__/
63
+ *.pyc
64
+ *.pyo
65
+ *.pyd
66
+ .Python
67
+
68
+ # Build artifacts
69
+ build/
70
+ dist/
71
+ *.egg-info/
72
+ *.egg
73
+ MANIFEST
74
+
75
+ # Testing
76
+ .tox/
77
+ .nox/
78
+ .coverage
79
+ .coverage.*
80
+ .cache
81
+ .pytest_cache/
82
+ nosetests.xml
83
+ coverage.xml
84
+ *.cover
85
+ .hypothesis/