semvec/pypi-packages huggingface dataset:
trackRetriever 1.0.1
A package to get the track id's/names of your songs

[![Downloads](https://pepy.tech/badge/trackretriever)](https://pepy.tech/project/trackretriever)
# Track Retriever

Built to make it easier for people to work with the tracks in their Spotify playlists 

### Prerequisites

I assume that you have already made a Spotify project, if not you can do that [here](https://developer.spotify.com/dashboard/)

```
You'll need your: username, client_id, client_secret, redirect_uri and userId 
```

### Installing

```
pip install trackRetriever
``` 

## Functions 

I made getPlaylistIds and get_playlist_tracks as helpers for getTracks but you are more than welcome to use them

```
getTracks(username, client_id, client_secret,redirect_uri,getNames = False)

All the parameters should be input as string except getNames
When getNames is set to True getTracks will return a list of the names of the tracks in your playlists
When getNames is set to False getTracks will return a list of the track id's of the tracks in your playlists 
```

```
getPlaylistIds(playlists)

This will get the playlist id's of your playlists 
playlists = sp.user_playlists(userId) *userId is not your username* 
```

```
get_playlist_tracks(userId, playlist_id,sp)

sp is the spotify object created by spotipy.Spotify(auth=token)
playlist_id is the id of the playlist you want to retrieve the tracks for 
```
pkg-upload 0.0.1
A package for uploading packages. Made with setuptools
Requires Python: >=3.6

# Package_Upload

To Upload a package:
Create a folder and name it
Then add an `__init__.py`
Add a LICENSE and a README
Make a Setup.py

For users using local computer.
```
pip install twine
```
```
python folder/setup.py sdist bdist_wheel
```
```
twine upload dist/*
```
```py
pkg_upload.package(pkg_name="Url91",author="PkgDev",email="example@example.com",version="0.0.1",short_description="A simplified url package made with request and urllib",long_description="""
#Url91

'''py
import Url91

print(Url91.content("https://pypi.org"))
'''
""",github_url="https://github.com",python_requirment=">=3.6")
```

For repl.it users.

```py
pkg_upload.package(pkg_name="Url91",author="PkgDev",email="example@example.com",version="0.0.1",short_description="A simplified url package made with request and urllib",long_description="""
#Url91

'''py
import Url91

print(Url91.content("https://pypi.org"))
'''
""",github_url="https://github.com",python_requirment=">=3.6")
```
Then

```py
pkg_upload.upload(folder_name,type_="in_folder")
```
selenium-translation 0.1.6
A simple python library used to translate and speak a given text from the user with Google Translation using user's Chrome browser.
Keywords: translation,traduction,translate,speech,voice,google translation,languages

# selenium_translation

Selenium_translation is a simple python library to translate any other
language or transform it to speech with google traduction , all that
using the user's Chrome browser in hidden mode , mean time to return the
translation or speech 15 seconds

**Installation :**

| $ pip install selenium_translation  |

**Simple usage :**

| >>> from Chrome_translation import chrome_translation |

| >>> from Chrome_translation import Chrome |

| >>> test=Chrome()  |

| >>> print(
test.translate_text(text='*Bonjour*',from_lang='*fr*',to_lang='*fr*') )|

| >>> Good morning |


**Methods :**

| Methods                                                  | Return                              |
|:---------------------------------------------------------|:------------------------------------|
| translation_url(from_lang=str,to_lang=str)               | url of google translation (str)     |
| translation_text_url(text=str,from_lang=str,to_lang=str) | url of the translation needed (str) |
| translate_text(text=str,from_lang=str,to_lang=str)       | translation of text (str)           |
| text_2_speech(text=str, language=str)                    | None , text speech                  |
| translation_2_speech(text=str,from_lang=str,to_lang=str) | None , translation speech           |

**Note :**

Use language codes >>>
[ISO-639 Language Codes](https://docs.oracle.com/cd/E13214_01/wli/docs92/xref/xqisocodes.html)

example :  
Arabic:ar  
French:fr