Clone repo locally and use prepare.py
script to prepare repo code for using in another project.
You should run the script to rename dirs and variables in py-files.
Also you can clean all useless files this way:
$ make clean
You should edit file osint_cli_tool_skeleton/core.py
to use you OSINT methods / calls / etc. instead of template method (get title and status code from main page of site).
InputData
- usually it is not necessary to change, just a value for search for.
OutputData
- class with result fields, you must change it for your own purposes.
Processor -> def request
- function for converting input to output, you must write your own logic there.
To prepare repo for the publishing:
- Register (if you not)
- Add your login and password to the repo secrets (Settings => Secrets) as
PYPI_PASSWORD
andPYPI_USERNAME
To publish package to the PyPI registry:
- Update your package version in the
_version
file - Create a release with the button
Draft a new release
A new publish action should be started, you can check it in your repo's Actions section