semvec/pypi-packages huggingface dataset:
sam-scraper 0.1.2
The `sam-scraper` is designed for seamless interaction with the sam.gov API,
License: MIT
Requires Python: >=3.6

# Sam Scraper

## Introduction

The `sam-scraper` Python package is designed for seamless interaction with the sam.gov API, enabling efficient search operations, detailed retrieval of records, and resource downloads.

## Features

- **Advanced Search Capabilities:** Execute detailed searches using criteria such as relevance, status, and result limits.
- **Detailed Information Retrieval:** Access in-depth details for records, including exclusion details and resource information.
- **Resource Download:** Directly download resource files using specific record IDs.
- **Ease of Use:** Offers intuitive methods and clear documentation for an optimal user experience.

## Installation

To install `sam-scraper`, run the following command in your terminal:

```bash
pip install sam-scraper
```

## Usage

Below is a step-by-step guide on how to utilize `sam-scraper` in your projects.

### Importing the Module

First, import the `Sam` class from the `sam_scraper` package:

```python
from sam import Sam
```

### Creating an Instance

Instantiate the `Sam` class:

```python
sam = Sam.Scraper()
```

### Performing a Search

To perform a search using the sam.gov API, use the `search` method. You can specify parameters such as `sort`, `status`, and `limit`:

```python
results = sam.search(sort="relevance", status="active", limit="10")
print(results)
```

### Getting Detailed Information

Retrieve detailed information of a record by providing an ID. This ID can be obtained from the search results:

```python
details = sam.get_details(id="962c49a01a204a25bfcad1b4c894b4ed")
print(details)
```

### Downloading a Resource

Download a resource file associated with a specific ID by using the `download_resource` method:

```python
sam.download_resource(ID="resource_id", name_file="desired_filename.pdf")
```

## License

This project is licensed under the MIT License - see the \`LICENSE.md\` file for details.
theatre-cli 0.1.6
A command-line interface to play movies
License: MIT

============================
theatre-cli
============================

Overview
--------

theatre-cli is a powerful command-line tool written in Python that transforms your terminal into a personal movie theater. With theatre-cli, you can effortlessly watch your favorite movies stored locally on your device. It provides a seamless and immersive movie-watching experience right from the command line.

Features
--------

- Watch movies conveniently using a text-based interface.
- Supports popular media players like mpv_ and VLC_.
- Easy-to-use setup and configuration.
- Compatible with Python 3.10 and higher.

Installation
------------

Prerequisites
^^^^^^^^^^^^^^^^^

Before you can enjoy theatre-cli, ensure you have the following dependencies installed:

- Python 3.10 (or higher)
- mpv_
- VLC_

Installation Steps
^^^^^^^^^^^^^^^^^^^

1. Clone the repository:

   .. code-block:: bash
   
      git clone https://github.com/virajsazzala/theatre-cli.git
      cd theatre-cli

2. Create a virtual environment:

   .. code-block:: bash

      python -m venv venv
      source venv/bin/activate

3. Install requirements:

   .. code-block:: bash

      pip install -r requirements.txt

4. Install the package in editable mode:

   .. code-block:: bash

      pip install -e .

Usage
-----

1. Launch theatre-cli by running the command provided above.
2. Follow the on-screen instructions to set up your movie directory.
3. Enjoy your movies with a cinematic experience right from your terminal.

Contributions
-------------

Contributions to theatre-cli are welcome! Whether you want to add features, fix bugs, or improve documentation, feel free to fork the repository and submit a pull request.

.. _mpv: https://mpv.io/
.. _VLC: https://www.videolan.org/vlc/