semvec/pypi-packages huggingface dataset:
venvarium 0.1.0.post1
Object-based interaction with a Python virtual environment.
Requires Python: >=3.9,<4.0

# venvarium

## Installation

```sh
python -m pip install venvarium
```

### Example

```py
from venvarium import VEnv


# Create the virtual environment
ENV_PATH = 'myproject/myenv' 
venv = VEnv(ENV_PATH)

# Run Python, PIP, or any other package or program
venv.python('-c', 'print("hello, world!")')
venv.pip('install', '--upgrade', 'pip')
venv.run_package('flask')

# See all installed packages
pkgs = venv.installed_packages()
print(pkgs)

# Get the entry points
entry_points = venv.entry_points().get('my_entry_point')
print(entry_points)
```
adfly-api 1.0.3
Unofficial Adfly API wrapper
Requires Python: >=3.5

# Adfly API

[![Downloads](https://pepy.tech/badge/adfly-api)](https://pepy.tech/project/adfly-api)
[![Downloads](https://pepy.tech/badge/adfly-api/month)](https://pepy.tech/project/adfly-api/month)
[![Downloads](https://pepy.tech/badge/adfly-api/week)](https://pepy.tech/project/adfly-api/week)

Unofficial Adfly API Python Wrapper

## Installation
`pip install adfly-api`

## Examples
```python
#Import
from adfly import AdflyApi

#Initialize
api = AdflyApi(
      user_id=12345678,
      public_key='xxxxxxxxxx',
      secret_key='xxxxxxxxxx',
)

# Url Groups examples.
api.get_groups()

# Expand examples.
api.expand(
    ['http://adf.ly/D', 'http://adf.ly/E', 'http://q.gs/4'],
    [3, '1A', '1C'])
api.expand(None, '1F')

# Shorten examples.
api.shorten([
  'http://docs.python.org/library/json.html',
  'https://github.com/benosteen'],
)
api.shorten('http://docs.python.org/library/json.html')

# Urls examples.
api.get_urls()
api.get_urls(search_str='htmlbook')
api.update_url(136, advert_type='int', group_id=None)
api.update_url(136, title='一些中国', fb_description='fb о+писан  и+е', fb_image='123')
api.delete_url(136)
```

## Credits
Originally developed by [Ben O'Steen](https://github.com/benosteen)
quikenv 1.0.0
REALLY quick(and lazy way) to use the python dot-env project.
Requires Python: >=3.5

# Quikenv

This was wrapper around the python dot-env project at

- https://github.com/theskumar/python-dotenv
- https://pypi.org/project/python-dotenv/

Here is the pypi release I made:
- https://pypi.org/project/quikenv/

I really liked the project but wanted something even more lazy. All credit goes to the original developers. I only added features I wanted on top of an already really great project.

This wrapper has the following features:

- A ezload() classmethod that automatically looks for for your .env file in the current working directory and 2 dirs up
```{python}
import quikenv

env = quikenv.ezload()
var = env.get("my_environment_var")
print(env.environment_variables)

```

- A proper_load() classmethod that will load this class with a given file path
```{python}
import quikenv

env_path = "C:/somedir/.env"
env = quikenv.proper_load(env_path)
var = env.get("my_environment_var")
print(env.environment_variables)
```

- A normal procedural start for the class
```{python}
import quikenv

env_path = "C:/somedir/.env"
env = quickenv.Quikenv(env_path)
env.load()
var = env.get("my_environment_var")
print(env.environment_variables)
```
- A lot of safety features (I don't think speed is relevant here):
    - Errors out when you give it an invalid file path to the .env file
    - Will NOT add values from your computer and will only use values from your .env file
    - Errors out when you try to get a value that doesn't exist or has am empty value
        - My years of programming has taught me that I'm still stupid enough to do this. You probably are too.
        - At least you get told now when something is null/empty instead of spending 2 hours debugging your idiocy.