semvec/pypi-packages huggingface dataset:
websauna.utils 1.0a8
websauna.utils is a component split from Websauna to resolve long standing
License: MIT
Requires Python: >=3.5.2
Keywords: config pytest websauna

websauna.utils is a component split from Websauna to resolve long standing
issues with package namespace.

.. |ci| image:: https://img.shields.io/travis/websauna/websauna.system/master.svg?style=flat-square
    :target: https://travis-ci.org/websauna/websauna.system/

.. |cov| image:: https://codecov.io/github/websauna/websauna.system/coverage.svg?branch=master
    :target: https://codecov.io/github/websauna/websauna.system?branch=master

.. |latest| image:: https://img.shields.io/pypi/v/websauna.system.svg
    :target: https://pypi.python.org/pypi/websauna.system/
    :alt: Latest Version

.. |license| image:: https://img.shields.io/pypi/l/websauna.system.svg
    :target: https://pypi.python.org/pypi/websauna.system/
    :alt: License

.. |versions| image:: https://img.shields.io/pypi/pyversions/websauna.system.svg
    :target: https://pypi.python.org/pypi/websauna.system/
    :alt: Supported Python versions

+-----------+-----------+-----------+
| |versions|| |latest|  | |license| |
+-----------+-----------+-----------+
| |ci|      | |cov|     |           |
+-----------+-----------+-----------+

.. image:: https://websauna.org/theme/images/logo-768.png

It is automatically installed with the Websauna package, and can be used
standalone, with minimal requirements.

For documentation, examples, install, please check the main Websauna
project at https://github.com/websauna/websauna
opengrokfs 0.2.1
OpenGrok FUSE filesystem and tools
License: MIT

.. -*- rst -*-

opengrokfs
==========

opengrokfs implements a FUSE filesystem backed by the OpenGrok web interface.
A cscope clone which uses the OpenGrok web interface as the backend is also
included.

Install with pip::

    pip3 install opengrokfs

Run ``opengrokfs`` with the URL of the OpenGrok start page and the local
directory where the filesystem should be mounted::

    mkdir -p mnt
    opengrokfs http://androidxref.com/7.1.1_r6/ mnt

Now you can access the files::

    $ ls mnt/
    Android.bp  bootable        bionic  development  external
    art         bootstrap.bash  dalvik  device       frameworks
    ...

Use ``oggrep`` to search using OpenGrok's "Full Search"::

    $ cd mnt/bionic/
    mnt/bionic$ oggrep O_LARGEFILE
    libc/kernel/uapi/asm-arm/asm/fcntl.h:#define O_LARGEFILE 0400000
    libc/kernel/uapi/asm-arm64/asm/fcntl.h:#define O_LARGEFILE 0400000
    libc/bionic/lfs64_support.cpp:// are already 64-bit ready. In particular, we don't have non-O_LARGEFILE
    libc/bionic/open.cpp:  return flags | O_LARGEFILE;
    libc/kernel/uapi/asm-mips/asm/fcntl.h:#define O_LARGEFILE 0x2000
    libc/kernel/uapi/asm-generic/fcntl.h:#ifndef O_LARGEFILE
    libc/kernel/uapi/asm-generic/fcntl.h:#define O_LARGEFILE 00100000
    tests/stdlib_test.cpp:  ASSERT_EQ(O_LARGEFILE, fcntl(tf.fd, F_GETFL) & O_LARGEFILE);

``ogcscope`` emulates cscope's line-oriented interface but uses OpenGrok as the
backend::

    mnt/bionic$ ogcscope -dl
    >> 1CLONE_CHILD_SETTID
    cscope: 1 lines
    libc/kernel/uapi/linux/sched.h <unknown> 41 #define CLONE_CHILD_SETTID 0x01000000
    >> 0CLONE_CHILD_SETTID
    cscope: 5 lines
    libc/bionic/clone.cpp <unknown> 53   if ((flags & (CLONE_PARENT_SETTID|CLONE_SETTLS|CLONE_CHILD_SETTID|CLONE_CHILD_CLEARTID)) != 0) {
    libc/bionic/clone.cpp <unknown> 56   if ((flags & (CLONE_SETTLS|CLONE_CHILD_SETTID|CLONE_CHILD_CLEARTID)) != 0) {
    libc/bionic/clone.cpp <unknown> 59   if ((flags & (CLONE_CHILD_SETTID|CLONE_CHILD_CLEARTID)) != 0) {
    libc/bionic/fork.cpp <unknown> 34 #define FORK_FLAGS (CLONE_CHILD_SETTID | CLONE_CHILD_CLEARTID | SIGCHLD)
    libc/kernel/uapi/linux/sched.h <unknown> 41 #define CLONE_CHILD_SETTID 0x01000000

``ogcscope`` can be used from within any editor which supports cscope.  For
example, for ``vim``::

    mnt/bionic$ vim -c 'set cscopeprg=ogcscope' -c 'cs add .opengrokfs'
selenium-requests-html 1.0
Fork of selenium-requests that extends Selenium WebDriver classes to include the functionality from the Requests-HTML library, while doing all the needed cookie and request headers handling. Credit for most of what makes this work goes toto Chris Braun and his original work done on Selenium-Requestshttps://github.com/cryzed/Selenium-Requests
License: MIT
Requires Python: >=3.6

Selenium Requests HTML
=================
Extends Selenium WebDriver classes to include the [HTMLSession](http://html.python-requests.org/) from the [Requests-HTML](http://html.python-requests.org/) library, while doing all the needed cookie and request headers handling.

This hasn't really been tested and is not likely to get a whole lot of work done on it. My initial tests seemed to work for my use case. Most functionality worked with another webdriver, but the render function in Requests-HTML has a dependency that uses chromedriver and I have not yet looked into a way around it.

Most of the work already seemed to have been done, thanks to the organization and work already done in [Selenium Requests](https://github.com/cryzed/Selenium-Requests) and [Requests-HTML](http://html.python-requests.org/), as well as the original [Requests](http://python-requests.org/) library.

Usage
-----
```python
# Import any WebDriver class that you would usually import from
# selenium.webdriver from the seleniumrequestshtml module
from seleniumrequestshtml import Chrome
from selenium.webdriver.chrome.options import Options

# Set up the options for your webdriver
url = 'https://illsea.com'
options = Options()
options.add_argument("--headless")
webdriver = Chrome(chrome_options=options)

# webdriver.requests_session replaces regular HTMLSession() usage from requests-html
session = webdriver.requests_session
# then just do requests-HTML things
response = session.get(url)
images = response.html.find('img')

print(images)