semvec/pypi-packages huggingface dataset:
fetch-data 0.2.5.2
Download remote data (HTTP, FTP, SFTP) and store locally for data pipeline
License: MIT
Requires Python: >=3.6

fetch-data
==============================
[![Build Status](https://github.com/lukegre/fetch-data/workflows/Tests/badge.svg)](https://github.com/lukegre/fetch-data/actions)
[![Documentation Status](https://readthedocs.org/projects/fetch-data/badge/?version=latest)](https://fetch-data.readthedocs.io)
[![codecov](https://codecov.io/gh/lukegre/fetch-data/branch/main/graph/badge.svg)](https://codecov.io/gh/lukegre/fetch-data)
[![pypi](https://img.shields.io/pypi/v/fetch-data.svg)](https://pypi.org/project/fetch-data)
[![License:MIT](https://img.shields.io/badge/License-MIT-blue.svg?style=flt-square)](https://opensource.org/licenses/MIT)
[![DOI](https://zenodo.org/badge/353780080.svg)](https://doi.org/10.5281/zenodo.4679568)
<!-- [![conda-forge](https://img.shields.io/conda/dn/conda-forge/fetch-data?label=conda-forge)](https://anaconda.org/conda-forge/fetch-data) -->


Download remote data (HTTP, FTP, SFTP) and store locally for data pipeline.

This package was created out of the frustration that it is very difficult to download data easily with `intake`.
`fetch-data` is a mash-up of `fsspec` and `pooch` making it easy to download multiple files and store all the info, making it good for data pipeline applications.


Installation
------------
Currently, this package is
`pip install git+https://github.com/lukegre/fetch-data.git`


Basic usage
-----------

Use the download function directly:

```python
flist = fd.download(url)
```

The file will be downloaded to the current directory and will be populated with a readme file, cached file list, and logging information.


Using with YAML catalogs
------------------------
Use the catalog YAML entry
```python
import fetch_data as fd
cat = fd.read_catalog(cat_fname)
flist = fd.download(**cat['entry_name'])
```

The catalog should be structured as shown below:
```yaml
entry_name:
    url: remote path to file/s. Can contain *
    dest: where the file/s will be stored - can have optional {} placeholders that will be replaced
    meta:  # this will be written to the README file
        doi: url to the data source
        description: info about the data
        citation: how to cite this dataset
    placeholder: value  # optional will replace values in dest
```

--------

<p><small>Project based on the <a target="_blank" href="https://github.com/jbusecke/cookiecutter-science-project">cookiecutter science project template</a>.</small></p>
poetry-bundle-plugin 0.1.0
Poetry plugin to bundle projects into various formats
License: MIT
Requires Python: >=3.6,<4.0

# Poetry bundle plugin

This package is a plugin that allows the bundling of Poetry projects into various formats.


## Installation

The easiest way to install the `bundle` plugin is via the `plugin add` command of Poetry.

```bash
poetry plugin add poetry-bundle-plugin
```

If you used `pipx` to install Poetry you can add the plugin via the `pipx inject` command.

```bash
pipx inject poetry poetry-bundle-plugin
```

Otherwise, if you used `pip` to install Poetry you can add the plugin packages via the `pip install` command.

```bash
pip install poetry-bundle-plugin
```


## Usage

The plugin introduces a `bundle` command namespace that regroups commands to bundle the current project
and its dependencies into various formats. These commands are particularly useful to deploy
Poetry-managed applications.

### bundle venv

### bundle venv

The `bundle venv` command bundles the project and its dependencies into a virtual environment.

The following command

```bash
poetry bundle venv /path/to/environment
```

will bundle the project in the `/path/to/environment` directory by creating the virtual environment,
installing the dependencies and the current project inside it. If the directory does not exist,
it will be created automatically.

By default, the command uses the current Python executable to build the virtual environment.
If you want to use a different one, you can specify it with the `--python/-p` option:

```bash
poetry bundle venv /path/to/environment --python /full/path/to/python
poetry bundle venv /path/to/environment -p python3.8
poetry bundle venv /path/to/environment -p 3.8
```

**Note**

If the virtual environment already exists, two things can happen:

- **The python version of the virtual environment is the same as the main one**: the dependencies will be synced (updated or removed).
- **The python version of the virtual environment is different**: the virtual environment will be recreated from scratch.

You can also ensure that the virtual environment is recreated by using the `--clear` option:

```bash
poetry bundle venv /path/to/environment --clear
```
discord-ext-cli 0.2.0
A CLI to talk through console.
License: MIT
Requires Python: >=3.8
Keywords: cli,discord cli

## discord-ext-cli

A CLI to talk through console.

# Installation

```shell
python3 -m pip install discord-ext-cli
```

## Example

```python
import discord
from discord.ext import cli

# Enable gateway intents on the developer portal

bot = cli.CLI(channel_id="Channel ID", intents=discord.Intents.all())

bot.run("Token Here")
reverse-ns 1.0.0
Python client library for Reverse NS API.
License: MIT
Requires Python: >=3.6
Keywords: reverse,ns,dns,api,whoisxmlapi

.. image:: https://img.shields.io/badge/License-MIT-green.svg
    :alt: reverse-ns-py license
    :target: https://opensource.org/licenses/MIT

.. image:: https://img.shields.io/pypi/v/reverse-ns.svg
    :alt: reverse-ns-py release
    :target: https://pypi.org/project/reverse-ns

.. image:: https://github.com/whois-api-llc/reverse-ns-py/workflows/Build/badge.svg
    :alt: reverse-ns-py build
    :target: https://github.com/whois-api-llc/reverse-ns-py/actions

========
Overview
========

The client library for
`Reverse NS API <https://reverse-ns.whoisxmlapi.com/>`_
in Python language.

The minimum Python version is 3.6.

Installation
============

.. code-block:: shell

    pip install reverse-ns

Examples
========

Full API documentation available `here <https://reverse-ns.whoisxmlapi.com/api/documentation/making-requests>`_

Create a new client
-------------------

.. code-block:: python

    from reversens import *

    client = Client('Your API key')

Make basic requests
-------------------

.. code-block:: python

    # Get categories for a domain name.
    response = client.get('ns.google.com')
    for row in response.result:
        print("Domain: " + row.name)

Advanced usage
-------------------

Extra request parameters

.. code-block:: python

    # Iterating over all pages
    # Specify the target name server.
    client.name_server = "ns2.google.com"

    # Now you can use the `Client` instance as an iterable object
    for page in client:
        # Precess the data:
        for row in page.result:
            print(row.name)

    # You can access the last response object via `last_result` property
    print(client.last_result.size)
    # Please note, that `client.get_raw(...)` method doesn't
    # update value of the `last_result` field.
    # Also, `iter(client)` will reset the `last_result` value to None

    # Getting raw API response in XML
    xml = client.get_raw('ns.google.com', output_format=Client.XML_FORMAT)

Using Response model reference
------------------------------

.. code-block:: python

    response = client.get('....')

    # Getting list of domains
    response.result
    # Checking the size of the domain list
    response.size
    # Checking if there is a next page
    if response.has_next():
        ....

    # `current_page` shows the `search_from` value
    ...
    r = client.get(ns='ns', search_from='last.domain.of.the.previous.page.com')
    print(r.current_page)
    # >>'last.domain.of.the.previous.page.com'


Changelog
=========

1.0.0 (2021-07-09)
------------------

* First release