semvec/pypi-packages huggingface dataset:
bio2bel-sider 0.0.1
Bio2BEL SIDER.
License: MIT
Requires Python: >=3.6
Keywords: Biological Expression Language,Drug Indications,Drug Side Effects

Bio2BEL SIDER |build| |coverage| |documentation|
================================================
Converts the Side Effect Resource (SIDER) to BEL.

Installation |pypi_version| |python_versions| |pypi_license|
------------------------------------------------------------
``bio2bel_sider`` can be installed easily from `PyPI <https://pypi.python.org/pypi/bio2bel_sider>`_ with
the following code in your favorite terminal:

.. code-block:: sh

    $ python3 -m pip install bio2bel_sider

or from the latest code on `GitHub <https://github.com/bio2bel/sider>`_ with:

.. code-block:: sh

    $ python3 -m pip install git+https://github.com/bio2bel/sider.git

Setup
-----
SIDER can be downloaded and populated from either the Python REPL or the automatically installed command line
utility.

Python REPL
~~~~~~~~~~~
.. code-block:: python

    >>> import bio2bel_sider
    >>> sider_manager = bio2bel_sider.Manager()
    >>> sider_manager.populate()

Command Line Utility
~~~~~~~~~~~~~~~~~~~~
.. code-block:: bash

    bio2bel_sider populate

Citations
---------
- Kuhn, M., *et al.* (2016). `The SIDER database of drugs and side effects <https://doi.org/10.1093/nar/gkv1075>`_. Nucleic Acids Research, 44(D1), D1075–D1079.

.. |build| image:: https://travis-ci.org/bio2bel/sider.svg?branch=master
    :target: https://travis-ci.org/bio2bel/sider
    :alt: Build Status

.. |coverage| image:: https://codecov.io/gh/bio2bel/sider/coverage.svg?branch=master
    :target: https://codecov.io/gh/bio2bel/sider?branch=master
    :alt: Coverage Status

.. |documentation| image:: http://readthedocs.org/projects/bio2bel-sider/badge/?version=latest
    :target: http://bio2bel.readthedocs.io/projects/sider/en/latest/?badge=latest
    :alt: Documentation Status

.. |climate| image:: https://codeclimate.com/github/bio2bel/sider/badges/gpa.svg
    :target: https://codeclimate.com/github/bio2bel/sider
    :alt: Code Climate

.. |python_versions| image:: https://img.shields.io/pypi/pyversions/bio2bel_sider.svg
    :alt: Stable Supported Python Versions

.. |pypi_version| image:: https://img.shields.io/pypi/v/bio2bel_sider.svg
    :alt: Current version on PyPI

.. |pypi_license| image:: https://img.shields.io/pypi/l/bio2bel_sider.svg
    :alt: MIT License
webdownloader 0.1.2
webdownloader is a tool for web data extraction
License: MIT
Keywords: webdownloader downloder web extraction parsing scraping mining

# Instalatiom
```sh
pip install webdownloader
```
# Downloader
### Basic functional
```python
from webdownloader import Downloader
downloader = Downloader()
page_content = downloader.get_page('https://www.google.com/')
len(page_content)
# or you can return full response
response = downloader.get_page('https://www.google.com/', full_response=True)
response.status_code
# by default it will create 3 attempts to open connection if there is a problem with a server, but you can use custom amount
response = downloader.post_page('https://www.some-not-reliable-site.com/', specific_attempts_count=5)
```
### Proxies usage
```python
from webdownloader import Downloader
downloader = Downloader(proxy_string_list=['104.144.176.1:3128', '102.152.145.103:3128', '157.152.145.103:3128'], change_proxies_manually=True)
# from one random proxy (if one of proxies is not working it will take another one)
page_content = downloader.get_page('https://www.google.com/')
# from the same proxy
page_content = downloader.get_page('https://www.google.com/')
# from random proxy
downloader.change_proxies()
page_content = downloader.get_page('https://www.google.com/')
````
### Cookies and headers
```python
from webdownloader import Downloader
downloader = Downloader()
# cookies as a dict
page_content = downloader.get_page('https://www.google.com/', cookies={'TOKEN': '1234567890'})
# cookies as a string (from browser)
page_content = downloader.get_page('https://www.google.com/', cookies_text='CONSENT=YES+UK.en+; SID=somesid')
# by default there is a user agent in headers but you can change all headers
page_content = downloader.get_page('https://www.google.com/', headers={'User-Agent': 'Mozilla/5.0'})
# get session sookies
session_cookies_dict = downloader.get_session_cookies()
# save cookies to file
downloader.save_cookies_to_file(session_cookies_dict, name='mycookies')
# load cookies from file
cookies_dict = downloader.get_cookies_from_file(name='mycookies')
````
# License
MIT
cat2 0.3.1
Print file contents like a boss
License: MIT
Keywords: cat,print,file,contents

<h1>cat2</h1>

[![PyPI version](https://badge.fury.io/py/cat2.svg)](https://badge.fury.io/py/cat2)

<h2>Print file contents like a boss</h2>

<h3>CLI useage:</h3>

<img src="https://i.ibb.co/28GdxcN/Screen-Shot-2018-12-02-at-00-45-47.png">

<h3>Programmatic usage:</h3>

```python

from cat2 import Cat2, Cat2Exception

# line_from and line_to are optional parameters
cat2_file = Cat2(file_path, line_from, line_to)

# cat2_file is an iterator object
for line in cat2_file:
	print(line)
	print(cat2_file.line_number)
	print(cat2_file.is_bytes)

```
twig 0.1.0a5
twig: A tool for Ethereum smart contract development.
License: MIT
Requires Python: >=3.6, <4
Keywords: ethereum

twig
====

`Join the chat at
https://gitter.im/ethereum/twig <https://gitter.im/ethereum/twig?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge>`__
`Build Status <https://circleci.com/gh/ethereum/twig>`__ `PyPI
version <https://badge.fury.io/py/twig>`__ `Python
versions <https://pypi.python.org/pypi/twig>`__ `Docs
build <https://twig-eth.readthedocs.io/en/latest/>`__

A tool for Ethereum smart contract development.

Read more in the `documentation on
ReadTheDocs <https://twig-eth.readthedocs.io/>`__. `View the change
log <https://twig-eth.readthedocs.io/en/latest/releases.html>`__.

Quickstart
----------

.. code:: sh

   pip install twig

Developer Setup
---------------

If you would like to hack on twig, please check out the `Ethereum
Development Tactical
Manual <https://github.com/pipermerriam/ethereum-dev-tactical-manual>`__
for information on how we do:

-  Testing
-  Pull Requests
-  Code Style
-  Documentation

Development Environment Setup
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

You can set up your dev environment with:

.. code:: sh

   git clone git@github.com:ethereum/twig.git
   cd twig
   virtualenv -p python3 venv
   . venv/bin/activate
   pip install -e .[dev]

Testing Setup
~~~~~~~~~~~~~

During development, you might like to have tests run on every file save.

Show flake8 errors on file change:

.. code:: sh

   # Test flake8
   when-changed -v -s -r -1 twig/ tests/ -c "clear; flake8 twig tests && echo 'flake8 success' || echo 'error'"

Run multi-process tests in one command, but without color:

.. code:: sh

   # in the project root:
   pytest --numprocesses=4 --looponfail --maxfail=1
   # the same thing, succinctly:
   pytest -n 4 -f --maxfail=1

Run in one thread, with color and desktop notifications:

.. code:: sh

   cd venv
   ptw --onfail "notify-send -t 5000 'Test failure ⚠⚠⚠⚠⚠' 'python 3 test on twig failed'" ../tests ../twig

Release setup
~~~~~~~~~~~~~

For Debian-like systems:

::

   apt install pandoc

To release a new version:

.. code:: sh

   make release bump=$$VERSION_PART_TO_BUMP$$

How to bumpversion
^^^^^^^^^^^^^^^^^^

The version format for this repo is ``{major}.{minor}.{patch}`` for
stable, and ``{major}.{minor}.{patch}-{stage}.{devnum}`` for unstable
(``stage`` can be alpha or beta).

To issue the next version in line, specify which part to bump, like
``make release bump=minor`` or ``make release bump=devnum``. This is
typically done from the master branch, except when releasing a beta (in
which case the beta is released from master, and the previous stable
branch is released from said branch). To include changes made with each
release, update “docs/releases.rst” with the changes, and apply commit
directly to master before release.

If you are in a beta version, ``make release bump=stage`` will switch to
a stable.

To issue an unstable version when the current version is stable, specify
the new version explicitly, like
``make release bump="--new-version 4.0.0-alpha.1 devnum"``