semvec/pypi-packages huggingface dataset:
anonfile-uploader 0.1.5
A simple Python library to upload files to anonfile.la
Requires Python: >=3.6

# Anonfile Uploader 
Anonfile Uploader is a simple Python library to upload files to [Anonfile.la](https://www.anonfile.la), including its temporary storage feature.

## Installation
```bash
pip install anonfile-uploader
```

## Use Without Login Example
```python
from anonfile import Anonfile

anonfile = Anonfile()
link = anonfile.upload_file('path/to/your/file.jpg')
print(f"Uploaded File: {link['url']}")
```

## Error Handling
The library comes with built-in exception handling to manage common errors such as timeouts, connection issues, or Json errors, others errors.
```python
from anonfile import Anonfile
from anonfile.exceptions import TimeoutError, ConnectionError, JsonDecodeError, AnonfileError

uploader = Anonfile(email="your_email@example.com", password="your_password")
try:
    file_path = "path/to/your/file.txt"
    response = uploader.upload_file(file_path)
    print(f"Upload File: response['url']")
except TimeoutError:
    print("The upload took too long and timed out.")
except ConnectionError:
    print("Failed to connect to the server.")
except JsonDecodeError as e:
    print(f"Error: {str(e)}")
except AnonfileError as e:
    print(e)
```

## Handling Timeout
If the upload takes too long and exceeds the specified timeout, a TimeoutError will be raised.
```python
from anonfile import Anonfile
from anonfile.exceptions import TimeoutError

uploader = Anonfile(email="your_email@example.com", password="your_password")
try:
    link = uploader.upload_file('path/to/your/file.jpg', timeout=10)
    print(f"Uploaded file: {link['url']}")
except TimeoutError:
    print("The upload took too long and timed out.")
```

## Handling Connection Issues
If there's a problem connecting to the anonfile.la , a ConnectionError will be raised.
```python
from anonfile import Anonfile
from anonfile.exceptions import ConnectionError

uploader = Anonfile(email="your_email@example.com", password="your_password")
try:
    link = uploader.upload_file('path/to/your/file.jpg')
    print(f"Uploaded file: {link['url']}")
except ConnectionError:
    print("Failed to connect to the server.")
```

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
hydra-search 0.1.2
An advanced pathfinding algorithm inspired by the Hydra mechanism.
Requires Python: >=3.6

# Hydra Search

Hydra Search is an advanced pathfinding algorithm inspired by the Hydra mechanism.

## Installation

```sh
pip install hydra-search
```

## Usage

```python
from hydra_search import HydraSearch

hsa = HydraSearch(search_space_size=100, num_searchers=10, parallel_mode='cpu')
best_section = hsa.run(iterations=10)
print("Best Section:", best_section)
```
dtcc-data 0.9.0
DTCC Data
Requires Python: >=3.10

# DTCC Data

DTCC Data provides an initial datalake scraped of LM's repository and an accompanying API for DTCC Platform.

This project is part of the
[Digital Twin Platform (DTCC Platform)](https://github.com/dtcc-platform/)
developed at the
[Digital Twin Cities Centre](https://dtcc.chalmers.se/)
supported by Sweden’s Innovation Agency Vinnova under Grant No. 2019-421 00041.

## Documentation

This project is documented as part of the
[DTCC Platform Documentation](https://platform.dtcc.chalmers.se/).

## Authors (in order of appearance)

* [Dag Wästerberg](https://chalmersindustriteknik.se/sv/medarbetare/dag-wastberg/)
* [Anders Logg](http://anders.logg.org)
* [Vasilis Naserentin](https://www.chalmers.se/en/persons/vasnas/)
* [Themis Arvanitis](https://dtcc.chalmers.se)


## License

This project is licensed under the
[MIT license](https://opensource.org/licenses/MIT).

Copyright is held by the individual authors as listed at the top of
each source file.

## Community guidelines

Comments, contributions, and questions are welcome. Please engage with
us through Issues, Pull Requests, and Discussions on our GitHub page.