semvec/pypi-packages huggingface dataset:
monito 0.1.0
Tool to monitor and filter news websites and alike.
License: MIT
Requires Python: >=3.9,<4.0
Keywords: rss,rss feed,news feed,newsfeed

monito
======

Tool for monitoring and filtering news websites and alike.

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

The installation is straight forward. You can install the package via ``pip``, ``pipenv``, ``poetry``
and alike or by downloading the source from the gitlab repository.

From pypi.org (recommended)
---------------------------

Install by typing

.. code-block:: shell

                pip install monito

or

.. code-block:: shell

                pip install --user monito

if you do not have root access.

Please check the documentations for `pipenv <https://pipenv.pypa.io/en/latest/>`_, and
`poetry <https://python-poetry.org/docs/>`_ for information on how to install packages with these tools.


From gitlab.com
---------------

To get the latest features or contribute to the development, you can clone the whole project using
`git <https://git-scm.com/>`_:

.. code-block:: shell

                git clone https://gitlab.com/szs/monito.git

Now you can, for instance, copy ``monito.py`` over to your project and import it directly or use it as a
command line tool.


How to Contribute
=================

If you find a bug, want to propose a feature or need help getting this package to work with your data
on your system, please don't hesitate to file an `issue <https://gitlab.com/szs/monito/-/issues>`_ or write
an email. Merge requests are also much appreciated!

Project links
=============

* `Repository <https://gitlab.com/szs/monito>`_
* `Documentation <https://monito.readthedocs.io/en/latest/>`_
* `pypi page <https://pypi.org/project/monito/>`_

Author
======

Steffen Brinkmann <s-b@mailbox.org>

License
=======

Published under the terms of the `MIT license <https://mit-license.org/>`_
gns3-client 0.1.0
Python API client for GNS3 network simulation tool
License: MIT
Requires Python: >=3.9,<4.0
Keywords: gns3

[![Python 3.9](https://img.shields.io/badge/python-3.9-green.svg)](https://docs.python.org/3.9/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

# gns3-client

*gns3-client* is a Python library that can be used to interact with a [GNS3 server](https://github.com/GNS3/gns3-server)
using its HTTP REST API. A GNS3 server manages emulators or hypervisors such as Dynamips, VirtualBox or Qemu/KVM.

## Disclaimer

This library does not aim at explaining nor documenting in any way the GNS3 server API. Please check
the [GNS3 server official documentation](https://gns3-server.readthedocs.io/en/latest/index.html) for further
information.

## Getting Started

Tests provide a very good starting point.

### Prerequisites

You'll need a [GNS3 server](https://github.com/GNS3/gns3-server) appliance or virtual machine to use the library.
Instructions on how to install a server appliance or virtual machine can be found on
the [GNS3 website](https://www.gns3.com/).

### Installing

```
pip install gns3-client
```

## Running the tests

You'll need a [GNS3 server](https://github.com/GNS3/gns3-server) appliance or virtual machine to test the library.
Instructions on how to install a server appliance or virtual machine can be found on
the [GNS3 website](https://www.gns3.com/).

Location of this test server is provided via these 2 environment variables:

| Environment variable name | Description                                 |             Example             |
|:-------------------------:|---------------------------------------------|:-------------------------------:|
|     `GNS3_SERVER_URL`     | The URL of the GNS3 test server             | http://gns3.example.com:3080/v2 |

You then simply need to perform a `python -v tests/`.

## Limitations

In this version, all [CRUD operations](https://en.wikipedia.org/wiki/Create,_read,_update_and_delete) of the following
object types have been implemented:

- projects
- templates
- nodes
- links
- drawings

## Contributing

Please read [CONTRIBUTING.md](CONTRIBUTING.md) for details on our code of conduct.

## Building

```
poetry build
poetry publish
```

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see
the [tags on this repository](https://github.com/desnoe/gns3-client/tags).

## Authors

* **Olivier Desnoë** - *Initial work* - [Albatross Networks](http://albatross-networks.com)

See also the list of [contributors](https://github.com/desnoe/gns3-client/contributors) who participated in this
project.

## License

This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
crawlMp 0.3.7
Multiprocess Crawler
License: MIT
Requires Python: >=3.6

# Overview #

![GitHub](https://img.shields.io/github/license/domarm-comat/crawlMp)

Main aim of this project is to provide simple tool for multiprocess crawling.  
It can be used either as a tool for python project or as a command line tool.

# Concept #

This package was written to serve general purpose of crawling various resources.  
To achieve that, Crawler interface needs to be adopted.  
Just by implementing this interface, other Crawlers can be created and used with crawlMp manager.  
Resource Crawler is then used with CrawlWorker.   
Every crawler first enters entry point (link) and extract hits and links.  
If specified, pipeline of actions is executed on every hit. By default, hits are collected in SIMPLE_MODE only and
that's the fastest method to crawl as well.  
If other metadata related to hit is required, use MODE_EXTENDED.  
Other workers can pick up and follow link(s) from shared list asynchronously.

# What is in the package #

- Crawler interface
- Action interface
- File system Crawler, Actions with search capabilities
- scripts, providing easy access from command line

# Installation #

### Pip ###

`python3 -m pip install crawlMp`

### Git ###

`git clone https://github.com/domarm-comat/crawlMp.git`  
`cd crawlMp`  
`python3 setup.py install`

# Usage examples #

### Scripts ###

* Show help:  
  `search_fs_mp --help`
* Search for .zip files  
  `search_fs_mp \\.zip$`
* Get all .zip files in different directories  
  `search_fs_mp \\.zip$ -l /home /usr/share`
* Show search summary  
  `search_fs_mp \\.zip$ -l /home /usr/share -os`

### Python code (blocking) ###

```python
from crawlMp.crawlMp import CrawlMp
from crawlMp.crawlers.crawler_fs import CrawlerSearchFs
from crawlMp.snippets.output import print_summary

manager = CrawlMp(CrawlerSearchFs, links=["/home"], num_proc=8, pattern="\.zip$")
manager.start()
print_summary(manager.results)
```

### Python code (callback) ###

```python
from crawlMp.crawlMp import CrawlMp
from crawlMp.crawlers.crawler_fs import CrawlerSearchFs
from crawlMp.snippets.output import print_summary


def on_done(manager):
  print_summary(manager.results)


manager = CrawlMp(CrawlerSearchFs, links=["/home"], num_proc=8, pattern="\.zip$")
manager.start(on_done)
```

### Python code (actions) ###

```python
from crawlMp.crawlMp import CrawlMp
from crawlMp.actions.action_fs import Copy, Remove
from crawlMp.crawlers.crawler_fs import CrawlerSearchFs
from crawlMp.snippets.output import print_summary


def on_done(manager):
  print_summary(manager.results)


# Copy all found zip files and then remove them
# It's just to demonstrate usage of actions
actions = (Copy(target_dir="/home/domarm/zip_files"), Remove())
manager = CrawlMp(CrawlerSearchFs, links=["/home"], num_proc=8, pattern="\.zip$", actions=actions)
manager.start(on_done)
```

# Code coverage #

Run pytests and code coverage by executing following commands

```shell
coverage run -m pytest --rootdir ./crawlMp/tests/
coverage report > coverage.txt
```
countloc 1.3
countloc is a simple CLI to count the number of lines of code in your directory that you wrote.
License: MIT
Keywords: LOC,SLOC,CLI

# countloc

Simple library to count the lines of code in a directory (excluding stuff like ```node_modules```)

Simply just run: 
```shell
countloc node_modules <args>
```

to find the number of lines of code in the current directory (including subdirs), excluding 
any args (in the example above, ```node_modules```)