Skip to main content

Not Yet Implemented Requirements

[tool.poetry.dependencies]
python = "^3.8"
python-jose = "^3.3.0"
requests = ">=2.11"
feedparser = "^6.0.8"
strawberry-graphql = {extras = ["debug-server", "fastapi"], version = "^0.139.0"}
deep-translator = "1.8.3"
pillow = "9.1.0"
pytesseract = "0.3.9"
chardet = "4.0.0"
opencv-python = "4.5.5.64"
python-multipart = "^0.0.5"
boto3 = "^1.26.117"
markupsafe = "2.0.1"
pydantic = "1.10.13"
motor = "^3.3.1"

Install requirements for local development:

pip install -r requirements.txt

Compiled Package Commands

build poetry package:

python cli.py build

install poetry package:

python cli.py install

poetry

poetry add

update package to latest version

  • Use @latest, you dont need to use the latest version number.
poetry add langchain@latest

add package to dev

  • The --dev option is deprecated, use the --group dev notation instead.
# not dev
poetry add types-aiofiles
# dev
poetry add --group dev install types-aiofiles

poetry remove

  • Remove library from dev dependancies
poetry remove --group dev httpx

poetry update

  • updates poetry.lock with changes from pyproject.toml

poetry shell

  • activates virtual env associated with poetry

poetry install

  • Installs poetry.lock into virtual env
  • Checks poetry.lock file for exact versions of all dependencies to install.
    • Install's those versions into the virtual environment that Poetry is managing for your project.

poetry install dev

poetry install --with dev

poetry install --all-extras --dry-run

  • Install all dependencies.
  • Install dev dependancies listed in pyproject.toml file.

Notes:

Dependancies

langchain

# https://colab.research.google.com/drive/1rU4UGE_WK1ED59E5zHeq_aXk8ksf7njW?authuser=1#scrollTo=2VXlucKiW7bX
!pip install langchain
!pip install openai
!pip install PyPDF2
!pip install faiss-cpu
!pip install tiktoken

pip install pypdf
    - required by PyPDFLoader

pip install pymilvus
    - required by Zilliz
opencv-python
langchain = "^0.0.189"
faiss-cpu = "^1.7.4"
tiktoken = "^0.4.0"
pypdf2 = "^3.0.1"
pytesseract = "^0.3.10"
markupsafe = "2.0.1"
promptify = "^0.1.4"

- pip install markupsafe==2.0.1 --force-reinstall

poetry add opencv-python langchain faiss-cpu tiktoken pypdf2 pytesseract markupsafe promptify

transformers

transformers = {extras = ["torch"], version = "^4.31.0"}
tensorflow = "^2.13.0"

opencv-python

  • Select the correct package for your environment:
    • There are four different packages (see options 1, 2, 3 and 4 below) and you should SELECT ONLY ONE OF THEM.
  • Do not install multiple different packages in the same environment. There is no plugin architecture: all the packages use the same namespace (cv2).
  • If you installed multiple different packages in the same environment, uninstall them all with pip uninstall and reinstall only one package.
    • a. Packages for standard desktop environments (Windows, macOS, almost any GNU/Linux distribution)
      • Option 1 - Main modules package: pip install opencv-python
      • Option 2 - Full package (contains both main modules and contrib/extra modules): pip install opencv-contrib-python (check contrib/extra modules listing from OpenCV documentation)
    • b. Packages for server (headless) environments (such as Docker, cloud environments etc.), no GUI library dependencies
      • These packages are smaller than the two other packages above because they do not contain any GUI functionality (not compiled with Qt / other GUI components).
      • This means that the packages avoid a heavy dependency chain to X11 libraries and you will have for example smaller Docker images as a result.
      • You should always use these packages if you do not use cv2.imshow et al. or you are using some other package (such as PyQt) than OpenCV to create your GUI.
        • Option 3 - Headless main modules package: pip install opencv-python-headless
        • Option 4 - Headless full package (contains both main modules and contrib/extra modules): pip install opencv-contrib-python-headless (check contrib/extra modules listing from OpenCV documentation)

Release files for osint_tools 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for osint_tools 0.4.1
File Size Uploaded
osint_tools-0.4.1.tar.gz 15.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for osint_tools 0.4.1
File Interpreter ABI Platform
osint_tools-0.4.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.7 kB

Release files / osint_tools-0.4.1.tar.gz

Download URL osint_tools-0.4.1.tar.gz
Size 15.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a474250e7ea049438e3e976f1ac83d156f18c759632844c00f6248dae146704b
BLAKE2b-256 checksum
How to use checksums
a12d1075a94291e44ca61879450eb66127c160ff45dd8dda10406385c17bc8f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.3 Linux/6.6.32-1-lts

Release files / osint_tools-0.4.1-py3-none-any.whl

Download URL osint_tools-0.4.1-py3-none-any.whl
Size 17.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
edc1df69d051d7ad0e09bdab87da534b216f52d49684698045be09351d0bd8ee
BLAKE2b-256 checksum
How to use checksums
800fa2af18f09c06cb5071c11a5cc1d40abf50e0345107422720d735310c5d9a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.3 CPython/3.12.3 Linux/6.6.32-1-lts

Release history Release notifications | RSS feed

This release

0.4.1 This release

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.9

2 release files

0.2.8

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page