Giter VIP home page Giter VIP logo

pypisearch's Introduction

πŸ’« What’s up?

πŸ‡ΊπŸ‡¦ Ukrainian
πŸ’» Software Engineer at OSavul
◼️ Design and build scalable web-applications is my passion
😎 Happy to be involved to awesome open source projects

🌐 Socials

Instagram LinkedIn

πŸ’» Tech Stack

Python GraphQL AWS FastAPI Flask JWT Apache Airflow Nginx Redis Postgres MongoDB Pandas NumPy Docker ElasticSearch Kubernetes

πŸ“Š GitHub Stats


pypisearch's People

Contributors

dependabot[bot] avatar gregory-k avatar juliencombattelli avatar shidenko97 avatar techcomet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pypisearch's Issues

doesn't find package with empty descriptions

it seems results with an empty description are discarded by pypisearch but not by the search on the pypi website.
as example searching for inmanta-module returns a lot of results on the website, but only 3 using pypisearch
It would be great to be able to have a way to look for those packages as well (maybe not by default, but with an extra flag or something)

ModuleNotFoundError: No module named 'tabulate'

Hi,
I just installed pypisearch :

$ sudo -H $(which pip3.8) install pypisearch
[sudo] password for sebastien:              
Collecting pypisearch
  Downloading pypisearch-1.2.0-py3-none-any.whl (4.9 kB)
Installing collected packages: pypisearch
Successfully installed pypisearch-1.2.0

Here's what I get when I use it :

$ python -m pypisearch speedtest
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/lib/python3.8/dist-packages/pypisearch/__main__.py", line 1, in <module>
    from pypisearch.main import main
  File "/usr/local/lib/python3.8/dist-packages/pypisearch/main.py", line 3, in <module>
    from pypisearch.search import Search
  File "/usr/local/lib/python3.8/dist-packages/pypisearch/search.py", line 3, in <module>
    import tabulate
ModuleNotFoundError: No module named 'tabulate'

Can you please help ?

pypisearch requirements vs. upgrades of other packages (e.g. requests)?

Hello,

it seems that there are strict versions required for some packages needed by pypisearch:

$ /e/Python/jq-win64.exe '.installed[]|select(.metadata.name=="pypisearch").metadata.requires_dist' inspect.txt
[
  "certifi (==2020.12.5)",
  "chardet (==4.0.0)",
  "idna (==2.10)",
  "requests (==2.25.1)",
  "tabulate (==0.8.9)"
]

... which then seems to be a cause for complaints when trying to upgrade other packages in my virtual environment, e.g. requests from 2.25.1 to 2.28.1:

(miro_du) E:\Python\pokusy\miro_du>pip list --outdated
Package            Version   Latest    Type
------------------ --------- --------- -----
certifi            2020.12.5 2022.9.24 wheel
chardet            4.0.0     5.0.0     wheel
charset-normalizer 2.1.1     3.0.0     wheel
idna               2.10      3.4       wheel
requests           2.25.1    2.28.1    wheel
tabulate           0.8.9     0.9.0     wheel

(miro_du) E:\Python\pokusy\miro_du>python -m pip install --upgrade requests
Requirement already satisfied: requests in e:\python\pokusy\miro_du\lib\site-packages (2.25.1)
Collecting requests
  Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Requirement already satisfied: charset-normalizer<3,>=2 in e:\python\pokusy\miro_du\lib\site-packages (from requests) (2.1.1)
Requirement already satisfied: idna<4,>=2.5 in e:\python\pokusy\miro_du\lib\site-packages (from requests) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in e:\python\pokusy\miro_du\lib\site-packages (from requests) (1.26.12)
Requirement already satisfied: certifi>=2017.4.17 in e:\python\pokusy\miro_du\lib\site-packages (from requests) (2020.12.5)
Installing collected packages: requests
  Attempting uninstall: requests
    Found existing installation: requests 2.25.1
    Uninstalling requests-2.25.1:
      Successfully uninstalled requests-2.25.1
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
pypisearch 1.3.5 requires requests==2.25.1, but you have requests 2.28.1 which is incompatible.
Successfully installed requests-2.28.1

(miro_du) E:\Python\pokusy\miro_du>pip list --outdated
Package            Version   Latest    Type
------------------ --------- --------- -----
certifi            2020.12.5 2022.9.24 wheel
chardet            4.0.0     5.0.0     wheel
charset-normalizer 2.1.1     3.0.0     wheel
idna               2.10      3.4       wheel
tabulate           0.8.9     0.9.0     wheel

Why are pypisearch requirements set to be on those exact versions, please?

Thank you,
Martin

Feature: Page Range Support

Description

TL;DR β€” pypisearch -p [1:5]
or maybe pypisearch -p 1-5 where the argument value of p matches some range pattern to retrieve pypi search pages, and prints the collated results

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.