semvec/pypi-packages huggingface dataset:
curvenote 0.7.2
Helper library from Curvenote for data science in Jupyter notebooks
Requires Python: >=3.7

# curvenote

The Curvenote helper library for working in Jupyter Notebooks with Python kernels

## Installation

```bash
    ~$ python -m pip install curvenote
```

## Summary

- `stash` save a dict or pandas dataframe in a cell output without diaplying the data

  ```python
       from curvenote import stash

       stash('myvars', myvars)
  ```

- `AppState` a traitlet based class to help manage state in ipywidgets ui's

  ```python
    from curvenote import AppState, with_state

    state = AppState()

    # register a widget in state
    wave_1_amp = FloatSlider(1.0, min=0.1, max=5.0, step=0.1, description="1 - Amp")
    state.register_stateful_widget(wave_1_amp, "wave_1_amp", Float(1.0))

    # register any trailet as a propery
    state.register_stateful_property("my_dict", Dict(dict(A="hello", B="world", C=1)))

    # observe the entire state
    def my_update_fn(state):
      some_calc_function(state.wave_1_amp, state.my_dict)
    state.observe(with_state(my_update_fn))

    # observe a single registered widget
    def wave_1_observer(evt):
      pass
    state.register_widget_observer("wave_1_amp", wave_1_observer)

    # observe a single trait
    def trait_observer(evt):
      pass
    state.register_widget_observer("my_dict", trait_observer)

    # display state changes for debugging
    from IPython.display import display
    display(state.outlet)

  ```
path-locator 0.0.0
This package makes a sys.path.append to run python files from console.
Requires Python: >=3.7

# Path Locator

This package that allows you to do an sys.path.append one level above the repository for find the modules correctly when you run a python file from console.

## Installation

Install ```path-locator``` package with pip.


```bash
  pip install path-locator
```
    
## Authors

- [@tmorales](https://github.com/moralesveratom)


## Contributing

Contributions are always welcome!

See `contributing.md` for ways to get started.

Please adhere to this project's `code of conduct`.


## License used

[MIT](https://choosealicense.com/licenses/mit/)


## Support

For support, email me moralesveratomas@gmail.com


## Feedback

If you have any feedback, please reach out to me at moralesveratomas@gmail.com


## FAQ

#### What Python version is necessary?

To develop this solution I used the Python 3.10 version.

#### What pip version is necessary to install the package?

Make sure you're using the latest version.

Run ```pip install --upgrade pip``` from console.
locate-path 0.0.0
This package makes a sys.path.append to run python files from console.
Requires Python: >=3.7

# Path Locator

This package that allows you to do an sys.path.append one level above the repository for find the modules correctly when you run a python file from console.

## Installation

Install ```path-locator``` package with pip.


```bash
  pip install path-locator
```
    
## Authors

- [@tmorales](https://github.com/moralesveratom)


## Contributing

Contributions are always welcome!

See `contributing.md` for ways to get started.

Please adhere to this project's `code of conduct`.


## License used

[MIT](https://choosealicense.com/licenses/mit/)


## Support

For support, email me moralesveratomas@gmail.com


## Feedback

If you have any feedback, please reach out to me at moralesveratomas@gmail.com


## FAQ

#### What Python version is necessary?

To develop this solution I used the Python 3.10 version.

#### What pip version is necessary to install the package?

Make sure you're using the latest version.

Run ```pip install --upgrade pip``` from console.
filecomptroller 0.0.1
Manage and modify your files
Keywords: split file,marge file,zip file,unzip file


# filecomptroller

Under construction! Not ready for use yet! Currently experimenting and planning!

Developed by Nishat from DevStrikerTech (c) 2023

## Examples of How To Use (Beta Version)

Split File By Line Number

```python
from split import split_file

# 'type', 'number of lines', 'file path'
split_file('split', '50', 'directory/file.txt')
```

Check out: https://www.youtube.com/c/DevStriker
basicpkg-sardorbek 1.0.0
A simple Python package
Requires Python: >=3.6

# `basicpkg`

The `basicpkg` is a simple testing example to understand the basics of developing your first Python package. 



from multiply.by_three import multiply_by_three
from divide.by_three import divide_by_three

multiply_by_three(9)
divide_by_three(21)
MIT License

Copyright (c) [year] [fullname]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
somtodaydotpy 0.0.1
Python package for interacting & fetching somtoday's data.

***Somtoday Python, the interactor***


> What the f**ck is this?

this(somtoday python) is a package that fetches and interacts with somtoday API using https requests.

**installation**

*for macos & linux*
```
pip3 install somtodaydotpy
```
*for windows*
```
pip install somtodaydotpy
```
***examples***

*basic interacting with a student(getting data from the student)*
```py

import somtodaypython.nonasyncsomtoday as nonasync_somtoday
school = nonasync_somtoday.find_school("SchoolName")
student = school.get_student("NAME", "password")
print(f"email : {student.email}\tname: {student.full_name}\tgender: {student.full_name}")
```
*basic interacting with the timetable of a student*
```py
import somtodaypython.nonasyncsomtoday as nonasync_somtoday
from datetime import datetime as dt
school = nonasync_somtoday.find_school("SchoolName")
student = school.get_student("NAME", "password")
today = dt.now()
tomorrow = dt(today.year, today.month, today.day + 2) # it will skip the secondth day
timetable: list[list[nonasync_somtoday.Subject]] = student.fetch_schedule(today, tomorrow, group_by_day=True)
for day in timetable:
    for day_subject in day:
        print(day_subect.name)
```

**Asynchronous suppport**

We also support asynchronous for somtodaypython.

*Basic interacting with a student(asynchronous)*
```py
import somtodaypython.asynchronous_somtoday as async_somtoday
import  asyncio # builtin library for asynchronous execution
async def main() -> None:
    school = await async_somtoday.get_school("SCHOOLNAME")
    student = await school.get_student("NAME", "PASSWORD")
    print(student.full_name)
asyncio.get_event_loop().run_until_complete(main()) # executing the main() function
```

*Basic interacting with a student's timetable(asynchronous)*

```py

import somtodaypython.asynchronous_somtoday as async_somtoday
from datetime import datetime as dt
import  asyncio # builtin library for asynchronous execution
async def main() -> None:
    now = dt.now()
    tomorrow = dt(now.year, now.month, now.day  + 2)
    school = await async_somtoday.get_school("SCHOOLNAME")
    student = await school.get_student("NAME", "PASSWORD")
    timetable: list[list[async_somtoday.Subject]] = await student.fetch_schedule(now, tomorrow, group_by_day=True)
    for day in timetable:
        for  subject in day:
            print(subject.name)
asyncio.get_event_loop().run_until_complete(main()) # executing the main() function
```


**Ending**


New features are always welcome! email taseen.bibi@gmail.com


**Huizengek#6623**
Special thanks to **Huizengek#6623** for showing the method of getting the access token & interacting with the somtoday API.

github: https://github.com/25huizengek1


**elisaado**

Special thanks to **elisaado** for making important API endpoints visible to other users.

github: https://github.com/elisaado/somtoday-api-docs
Modrinth-API 0.0.1
A no-compromises wrapper for the Modrinth API
Keywords: CMPDL,Minecraft,Modrinth,API,Wrapper


# Curseforge API
[modrinth-api]: https://docs.modrinth.com/api-spec/
[cfapi-docs]: https://wow.curseforge.com/api/docs
[not-working-modrinth]: https://github.com/BetaPictoris/modrinth.py
[cmpdl]: https://github.com/Advik-B/CMPDL

This is a no-compromise CurseForge API wrapper for python. It is a re-write of [Modrinth.py][not-working-modrinth] which (In my opinion) is trash
This project is a complete re-write of the original project, with a focus on simplicity and ease of use.

This project is still in development, and is not yet ready for production use.
It also speeds up the process by using disk caching, It will cache the response from the API and will only make a new request if the request is not cached.

This, of course can be disabled by setting the cache to False.

## Features
- Simple and easy to use
- Caches responses from the API to disk for faster response times
- Allows direct access to the API via the `fetch` method
- Allows exporting of the objects to DICT, JSON, or YAML

## Installation

```bash
pip install modrinth-api
```

## TODO
- [ ] Implement the export methods
- [ ] Implement the cache
- [ ] Implement the fetch method
- [ ] Deal with the download URL being a null value
- [ ] Implement the search method
- [ ] Wrap the ENTIRE API
- [ ] Rename the classes so they have a `Rinth` prefix

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)
grafana-color-constants 0.1.2
Basic Class containing Grafana Color constants
Requires Python: >=3.7

# Grafana Color Constants

Use this package to easily get Grafana HEX color values in your code: 
![https://gitlab.com/calixtemayoraz/grafana-color-constants/-/raw/master/grafana-colors.png](https://gitlab.com/calixtemayoraz/grafana-color-constants/-/raw/master/grafana-colors.png)

It also provides an easy way to iterate over these colors allowing for fast and flexible looping
without hard-coding the colors in your code.

Install :
```shell
pip install grafana-color-constants
```

Example:

```python
from grafana_color_constants import GrafanaColor

GrafanaColor.RED
>>> '#E02F44'
GrafanaColor.RED.normal
>>> '#E02F44'
GrafanaColor.RED.lighter
>>> '#FF7383'
GrafanaColor.PURPLE.darker
>>> '#7C2EA3'
```

You can use it as an iterator with th `GrafanaColor.iterator` property:

```python
from grafana_color_constants import GrafanaColor
from matplotlib import pyplot as plt

color = GrafanaColor.iterator

for i in range(60):
    plt.bar([i+1], [1.05**i], color=next(color))
plt.show()
```
This will output a graph like so:
![https://gitlab.com/calixtemayoraz/grafana-color-constants/-/raw/master/graph-example.png](https://gitlab.com/calixtemayoraz/grafana-color-constants/-/raw/master/graph-example.png)

There are 6 colors: [`RED`, `ORANGE`, `YELLOW`, `GREEN`, `BLUE`, `PURPLE`],
each with 5 shades [`darker`, `dark`, `normal`, `light`, `lighter`] for a total of 30 colors.

Hope it's useful to you! 

## \#TODOs for next iterations:
 - rgb and rgba conversions
 - different iteration orders
 - custom color sets