semvec/pypi-packages huggingface dataset:
env-permissions-manager 0.0.1
A Python package to manage permissions of Python environments

# Permissions Manager

## Overview
Permissions Manager is a Python package that allows you to manage the permissions of your Python environments. It provides a simple and efficient way to check, change, and report the permissions of multiple Python packages.

## Installation
You can install the Permissions Manager package using pip:
```bash
pip install permissions-manager
```

# Features
- Check Permissions: Check the read and write permissions of multiple Python packages.
- Change Permissions: Change the permissions of multiple Python packages.
- Report Non-Standard Permissions: Provide a report of multiple Python packages with non-standard permissions.

## Usage
Here’s a basic usage example of Permissions Manager:

```bash
from permissions_manager.permissions_manager import PermissionsManager
permissions_manager = PermissionsManager()

package_names = ['requests', 'numpy']
permissions = permissions_manager.check_permissions(package_names)
print(permissions)

new_permissions = 0o755
permissions_manager.change_permissions(package_names, new_permissions)

standard_permissions = True
non_standard_packages = permissions_manager.report_non_standard_permissions(package_names, standard_permissions)
print(non_standard_packages)

````

#### Sample output of the above 
```bash
Current Permissions: {'requests': True, 'numpy': True}
Non-Standard Packages: []
```
- If the list is empty ([]), it means all specified packages have permissions matching the specified standard (True). No non-standard packages are found.
- If the list contains elements, it means there are packages with permissions not matching the specified standard. Each element in the list will indicate a package and its current permissions.

## Tests
This package includes a suite of tests to ensure its functionality. You can run these tests using pytest:

```bash
pytest
````

# Benefits
- Permissions Manager provides a simple and efficient way to manage the permissions of your Python environments. This can be particularly useful in shared environments, where multiple users may need different levels of access to certain packages.

## License
This project is licensed under the terms of the MIT license.

## Contact
If you have any questions or feedback, please feel free to contact the author at karimbaidar@gmail.com.
permissions-manager 0.0.1
A Python package to manage permissions of Python environments

# Permissions Manager

## Overview
Permissions Manager is a Python package that allows you to manage the permissions of your Python environments. It provides a simple and efficient way to check, change, and report the permissions of multiple Python packages.

## Installation
You can install the Permissions Manager package using pip:
```bash
pip install permissions-manager
```

# Features
- Check Permissions: Check the read and write permissions of multiple Python packages.
- Change Permissions: Change the permissions of multiple Python packages.
- Report Non-Standard Permissions: Provide a report of multiple Python packages with non-standard permissions.

## Usage
Here’s a basic usage example of Permissions Manager:

```bash
from permissions_manager.permissions_manager import PermissionsManager
permissions_manager = PermissionsManager()

package_names = ['requests', 'numpy']
permissions = permissions_manager.check_permissions(package_names)
print(permissions)

new_permissions = 0o755
permissions_manager.change_permissions(package_names, new_permissions)

standard_permissions = True
non_standard_packages = permissions_manager.report_non_standard_permissions(package_names, standard_permissions)
print(non_standard_packages)

````

#### Sample output of the above 
```bash
Current Permissions: {'requests': True, 'numpy': True}
Non-Standard Packages: []
```
- If the list is empty ([]), it means all specified packages have permissions matching the specified standard (True). No non-standard packages are found.
- If the list contains elements, it means there are packages with permissions not matching the specified standard. Each element in the list will indicate a package and its current permissions.

## Tests
This package includes a suite of tests to ensure its functionality. You can run these tests using pytest:

```bash
pytest
````

# Benefits
- Permissions Manager provides a simple and efficient way to manage the permissions of your Python environments. This can be particularly useful in shared environments, where multiple users may need different levels of access to certain packages.

## License
This project is licensed under the terms of the MIT license.

## Contact
If you have any questions or feedback, please feel free to contact the author at karimbaidar@gmail.com.
homecloud 0.3.4
A command line tool for generating the template files needed to integrate fastapi, uvicorn, and a requests based client into a Python project.
Requires Python: >=3.10
Keywords: api,client,fastapi,network,server

# homecloud
W.I.P/ more detailed readme to come<br>
A command line tool for generating the template files needed to integrate fastapi, uvicorn, and a requests based client into a Python project
over a local network. <br>
Devices on the local network running a client can automatically find the server for their app name at startup.<br>

## Installation

Install with
<pre>
pip install homecloud
</pre>

## Usage

Navigate to your project directory in the terminal
and run 
<pre>
>homecloud
</pre>

Several files should have been generated.
Assuming the project directory is called myapp,
you should see the following files:
<pre>
homecloud_config.toml
myapp_client.py
myapp_get_routes.py
myapp_post_routes.py
myapp_request_models.py
myapp_server.py
</pre>

The server for myapp can be started by running the `myapp_server.py` script.<br>
Any device on the local network that runs code that creates a `myapp.MyappClient` object 
should be able to automatically find the ip address and port of the myapp server.<br>
<br>
Other `myapp_*_routes.py` files can be generated by passing their names with the `-r/--routes` 
switch to the `homecloud` tool.<br>
If, earlier, we ran
<pre>
>homecloud -r trace put
</pre>
then we would have generated the previous files as well as
<pre>
myapp_trace_routes.py
myapp_put_routes.py
</pre>

The help display for `homecloud`:
<pre>
>homecloud -h
usage: homecloud [-h] [-r [ROUTES ...]] [-d DESTINATION] [app_name]

positional arguments:
  app_name              The name of the app to generate files for. If a value isn't provided, the folder name of the current working directory will be used.

options:
  -h, --help            show this help message and exit
  -r [ROUTES ...], --routes [ROUTES ...]
                        The routes to generate files for in addition to 'get' and 'post' routes.
  -d DESTINATION, --destination DESTINATION
                        The directory to save the generated files to. By default, uses the current working directory.
</pre>