semvec/pypi-packages huggingface dataset:
hanifx-timelock 6.1.1
A secure time-lock and license-check module for Python scripts
License: MIT
Requires Python: >=3.6
Keywords: timelock license security script protection

# hanifx-timelock

`hanifx-timelock` is a powerful Python module designed to protect your scripts with:

- ⏳ **Time Lock**: Prevent your script from running before a specific date and time  
- 🔒 **License Key Protection**: Require a valid license key to unlock the script  
- 🧬 **File Integrity Check**: Block execution if the script file has been copied or modified  

---

## 🚀 Installation

```bash
pip install hanifx-timelock

from hanifx_timelock import run_timelock

run_timelock()

# Your actual script code here
print("Script unlocked and running...")

🔑 Please enter your license key: HX-1234-ABCD
✅ File unlocked. Running script...

🚫 Invalid license key.

[LOCKED] File locked. Please try again in 5 days, 3:20:10.
focsec 1.0.0
Python SDK for the Focsec IP and VPN detection API
License: MIT
Requires Python: >=3.8.1

# Focsec Python SDK

Python SDK and CLI tool for the [Focsec](https://focsec.com) Threat Intelligence and VPN Detection API.

Focsec provides comprehensive IP intelligence data, including VPN detection, proxy detection, bot detection, and more. This SDK simplifies integration with the Focsec API, allowing you to easily access IP data and perform various checks in your Python-baed project.

## Installation

```bash
pip install focsec
```

## Quick Start

### SDK

```python
from focsec import FocsecClient

# Initialize the client with your API key
client = FocsecClient(api_key="your-api-key-here")

# Get IP information
result = client.ip("84.118.20.205")
print(f"IP: {result.ip}")
print(f"Is VPN: {result.is_vpn}")
print(f"Is Proxy: {result.is_proxy}")
print(f"Is TOR: {result.is_tor}")
print(f"Is Bot: {result.is_bot}")
print(f"Is Datacenter: {result.is_datacenter}")
# More information available: country, city, iso_code, is_in_european_union, flag, autonomous_system_number, autonomous_system_organization	
```

### Command Line Interface

This package also includes a command line interface (CLI) for quick access to the API without writing any code.

```bash
# Set your API key (or use --api-key flag)
export FOCSEC_API_KEY=your-api-key-here

# Look up an IP address
focsec ip 8.8.8.8

# Output in single line JSON format
focsec ip 8.8.8.8 --json
```

## Error Handling

The SDK provides a simple exception hierarchy:

```
FocsecError (base - catch any SDK error)
├── ClientError (4xx - fixable by user)
│   ├── BadRequestError (400)
│   ├── AuthenticationError (401)
│   ├── PaymentRequiredError (402)
│   ├── NotFoundError (404)
│   └── MethodNotAllowedError (405)
├── ServerError (5xx - server issues)
│   ├── InternalServerError (500)
│   ├── BadGatewayError (502)
│   └── ServiceUnavailableError (503)
├── RateLimitError (429 - rate limit exceeded)
├── ValidationError (client-side validation)
└── APIError (unexpected status codes)
```

## API Documentation

For further API documentation, please visit [docs.focsec.com](https://docs.focsec.com).

## License

MIT License

## Questions?

Contact us at [support@focsec.com](mailto:support@focsec.com) for any questions or issues.