semvec/pypi-packages huggingface dataset:
mypackage-anshita 0.1.4
A flexible chatbot package with vector embeddings and prompt handling using Ollama and FAISS
Requires Python: >=3.8

## mypackage_anshita

`mypackage_anshita` is a Python package built with Ollama models to provide:

- Prompt-based text generation using models like `gemma:2b`, `llama2`, and others.
- Vector-based document embedding and semantic search with FAISS.
- Flexibility to use different models for generation and embeddings.




## Installation

Install the package via PyPI:

```bash
pip install mypackage-anshita```




##Features

PromptRunner: Run prompts on various Ollama models.
DocumentEmbedder: Embed documents and perform vector search.
Integration with Ollama, FAISS, and NumPy.
Supports multiple Ollama models, including Gemma and LLaMA2.




##Usage Example

Generate Text
```from mypackage_anshita import PromptRunner

runner = PromptRunner(model='gemma:2b')
response = runner.run_prompt("What is the theory of relativity?")
print(response)
from mypackage_anshita import DocumentEmbedder

docs = [
    "Marie Curie won two Nobel Prizes.",
    "Einstein created the theory of relativity."
]

embedder = DocumentEmbedder()
embedder.embed_text(docs)

results = embedder.search("radioactivity")
print(results)```




##Author

Anshita Bhatnagar
Built during internship using LangChain, Ollama, FAISS, and Streamlit.




##License

MIT License
autostartx 1.0.7
Transform any command-line program into an auto-restarting background service
Requires Python: >=3.8
Keywords: service, process, daemon, auto-restart, cli

# Autostartx - Turn Any Command into a Service

Transform any command-line program into an auto-restarting background service with a single command. Simple, fast, zero configuration.

[![Python](https://img.shields.io/badge/python-3.8+-blue.svg)](https://python.org) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

[中文文档](README_zh.md) | [English](README.md)

## Quick Start

**Option 1: One-time use with uvx**  

Turn long-running commands into services  

`
uvx autostartx add "python -m http.server 8000" --name web
`

**Option 2: Install to system**  

Install once, use anywhere  

`pip install autostartx`

or

`uvx autostartx install`

**Option 3: Traditional install**
```bash
git clone https://github.com/faker2048/autostartx.git && cd autostartx && pip install .
```

**Basic Usage**
```bash
autostartx add "python -m http.server 8000" --name web
autostartx add "tailscale up --ssh" --name vpn

# Or use the short alias 'asx' (same functionality)
asx add "python -m http.server 8000" --name web
asx list
```

**Check your services**
```bash
autostartx list        # Show all services
autostartx logs web -f # View logs

# Short version
asx list
asx logs web -f
```

## Commands

```bash
autostartx add "command"           # Add service (or: asx add "command")
autostartx list                   # Show services (or: asx list)
autostartx start/stop/restart     # Control services  
autostartx logs <name> -f         # View logs
autostartx daemon --action start  # Auto-restart daemon
```

## Why Autostartx?

- **Simple**: One command to turn any long-running process into a service
- **Reliable**: Automatic restarts when processes crash
- **Cross-platform**: Works on Windows, Linux, macOS
- **Zero config**: No setup files needed

Perfect for dev servers, background daemons, monitoring tools, proxy services.

## License

MIT License