semvec/pypi-packages huggingface dataset:
gozle-disk-api 1.0.2
Gozle disk api is an unofficial api for the gozle disk service which provides the ability to log into your account, see the amount of space on your account and get account data. There is a function to update outdated cookies.
License: MIT
Keywords: gozle disk api

# Gozle disk api
Gozle disk api is an unofficial api for the gozle disk service which provides the ability to log into your account, see the amount of space on your account and get account data. There is a function to update outdated cookies.

## For reference
The fact is that cookies last about 1-2 hours. Therefore, a function was written to detect invalid cookies and update them. To implement re-authorization, a code was written that saves your login and password. It is not transferred to third parties.
I don't understand OOP well, so there is a lot of hard code in the library, if you want, you can correct my hard code. In the future I will do this myself as I learn OOP.

Implemented functions: authorization, viewing profile information, viewing the amount of disk space.

Soon:
Uploading files.

To use the get_info_profile function you must pass the required user_api argument. This is your personal api for your account of this type: https://disk.gozle.com.tm/api/v1/users/1234/. You must find out this address yourself in the developer console by analyzing all network requests.

![image](https://github.com/seratclemency/gozle-disk-api/assets/102463399/28753284-bad0-4e1e-9bee-f892be1a5b82)

Log in to your account, press f12, go to the Network tab and reload the page. Find the API shown in the screenshot (4 digits at the end will be different)

## Installation

Import: ```from gozle_disk_api import gozle_disk```

To authorize, you must activate this code. It is executed once, after which you will have 2 files created, these are cookies.txt and data.txt. You don't need to touch these files.

```python
gozle_disk.auth('email', 'password')
```
campuspulse-event-ingest-schema 0.1.0
Normalized data schema for the output of the data-ingest pipeline.
License: MIT
Requires Python: >=3.8

# campuspulse-event-ingest-schema

[![PyPI](https://img.shields.io/pypi/v/campuspulse-event-ingest-schema.svg)](https://pypi.org/project/campuspulse-event-ingest-schema/)
[![Changelog](https://img.shields.io/github/v/release/CampusPulse/event-data-schema?include_prereleases&label=changelog)](https://github.com/CampusPulse/event-data-schema/releases)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/CampusPulse/event-data-schema/blob/main/LICENSE)

Normalized data schema for the output of the data-ingest pipeline.

## Installation

Install this library using `pip`:

```sh
pip install campuspulse-event-ingest-schema
```

## Usage

Import this package then use it to construct normalized objects with type
enforcement.

```python
from campuspulse_event_ingest_schema import location


location.NormalizedLocation(
  id="vaccinebot:uuid-for-site",
  source=location.Source(
    source="vaccinebot",
    id="uuid-for-site",
    fetched_from_uri="https://vaccinateTheStates.com",
    published_at="2021-01-13T00:00:00-08:00",
    data={},
  )
)
```

For more details on the schema, read the inline comments or the
[`data-ingest` wiki](https://github.com/rit-hc-website/data-ingest/wiki/Normalized-Location-Schema).

## Development

To contribute to this library, first checkout the code. Then create a new
virtual environment:

```sh
cd campuspulse-event-ingest-schema
python -mvenv venv
source venv/bin/activate
```

Or if you are using `pipenv`:

```sh
pipenv shell
```

Now install the dependencies, linters, and tests:

```sh
pip install -e '.[lint,test]'
```

To run code formatters:

```sh
isort .
black .
```

To run linters:

```sh
mypy .
flake8 campuspulse_event_ingest_schema
```

To run the tests:

```sh
pytest
```

## Release

ideally from within a virtual env as described above...
```
pip install build twine
python -m build
twine check dist/*
twine upload dist/*
```