semvec/pypi-packages huggingface dataset:
pygametiny 0.1.3
a framework based on pygame
Requires Python: >=3.11

pygametiny is a simple lib based on pygame
by MRanos





to make a screen:

     from pygametiny import pygametiny

     game = pygametiny(400,400)

     def update():

         pass
	 
     game.start(update)





to change background color :

     from pygametiny import pygametiny

     game = pygametiny(400,400)


     def update():
     
	     game.bg((255,255,255))
	 
	 
	 

     game.start(update)






to make a sprite:

     from pygametiny import pygametiny

     game = pygametiny(400,400)

     player = game.load("player.png")

     player_x,player_y=50,50

     def update():
     
	     game.bg((255,255,255))
	 
	     game.draw(player,player_x,player_y)
	 
	 

     game.start(update)





to make the sprite move:

     from pygametiny import pygametiny

     game = pygametiny(400,400)

     player = game.load("player.png")

     player_x,player_y=50,50

     def update():
         global player_x,player_y
	 
	     game.bg((255,255,255))
	 
	     game.draw(player,player_x,player_y)
	 
	     player_x = game.movex(player_x,1)
	 
	     player_y = game.movex(player_y,1)
	 
	 
	 
	 

     game.start(update)





to play sound:


     from pygametiny import pygametiny

     game = pygametiny(400,400)

     test = game.sound("test.wav")

     def update():

	     game.bg((255,255,255))
	 
	     game.play_sound(test)
	 
	 
	 

     game.start(update)


to add text:

     from pygametiny import pygametiny

     game = pygametiny(400,400)


     def update():

	     game.bg((255,255,255))
	 
	     simple_text = game.text("hello world",25)
	 
	     game.draw(simple_text,50,50)
	 
	 
	 

     game.start(update)





to change the title and icon:



     from pygametiny import pygametiny

     game = pygametiny(400,400)

     game.title("hello world")

     game.icon("logo.png")



     def update():

	     game.bg((255,255,255))
	 
	 
	 
	 

     game.start(update)






how use collision:



     from pygametiny import pygametiny

     game = pygametiny(400,400)

     player = game.load("player.png")

     player_x,player_y=50,50

     enemy = game.load("enemy.png")

     enemy_x,enemy_y=100,100

     def update():

         global player_x,player_y,enemy_x,enemy_y
	 
	     game.bg((255,255,255))
	 
	     game.draw(player,player_x,player_y)
	 
	     player_x = game.movex(player_x,1)
	 
	     player_y = game.movex(player_y,1)
	 
	     if game.collisionx(player_x,enemy_x,enemy) and game.collisiony(player_y,enemy_y,enemy):
	 
	         print("the player lose")
	 
	 
	 
	 

     game.start(update)
pygamelite 0.1.3
a framework based on pygame
Requires Python: >=3.11

pygamelite is a simple lib based on pygame
by MRanos





to make a screen:

     from pygamelite import pygamelite

     game = pygamelite(400,400)

     def update():

         pass
	 
     game.start(update)





to change background color :

     from pygamelite import pygamelite

     game = pygamelite(400,400)


     def update():
     
	     game.bg((255,255,255))
	 
	 
	 

     game.start(update)






to make a sprite:

     from pygamelite import pygamelite

     game = pygamelite(400,400)

     player = game.load("player.png")

     player_x,player_y=50,50

     def update():
     
	     game.bg((255,255,255))
	 
	     game.draw(player,player_x,player_y)
	 
	 

     game.start(update)





to make the sprite move:

     from pygamelite import pygamelite

     game = pygamelite(400,400)

     player = game.load("player.png")

     player_x,player_y=50,50

     def update():
         global player_x,player_y
	 
	     game.bg((255,255,255))
	 
	     game.draw(player,player_x,player_y)
	 
	     player_x = game.movex(player_x,1)
	 
	     player_y = game.movex(player_y,1)
	 
	 
	 
	 

     game.start(update)





to play sound:


     from pygamelite import pygamelite

     game = pygamelite(400,400)

     test = game.sound("test.wav")

     def update():

	     game.bg((255,255,255))
	 
	     game.play_sound(test)
	 
	 
	 

     game.start(update)


to add text:

     from pygamelite import pygamelite

     game = pygamelite(400,400)


     def update():

	     game.bg((255,255,255))
	 
	     simple_text = game.text("hello world",25)
	 
	     game.draw(simple_text,50,50)
	 
	 
	 

     game.start(update)





to change the title and icon:



     from pygamelite import pygamelite

     game = pygamelite(400,400)

     game.title("hello world")

     game.icon("logo.png")



     def update():

	     game.bg((255,255,255))
	 
	 
	 
	 

     game.start(update)






how use collision:



     from pygamelite import pygamelite

     game = pygamelite(400,400)

     player = game.load("player.png")

     player_x,player_y=50,50

     enemy = game.load("enemy.png")

     enemy_x,enemy_y=100,100

     def update():

         global player_x,player_y,enemy_x,enemy_y
	 
	     game.bg((255,255,255))
	 
	     game.draw(player,player_x,player_y)
	 
	     player_x = game.movex(player_x,1)
	 
	     player_y = game.movex(player_y,1)
	 
	     if game.collisionx(player_x,enemy_x,enemy) and game.collisiony(player_y,enemy_y,enemy):
	 
	         print("the player lose")
	 
	 
	 
	 

     game.start(update)
tompy 1.0.0
Python Time Series Library
Requires Python: >=3.12

# tompy
Python Time Series Library

# Install
## conda
```
conda create -n tompy python=3.12
conda activate tompy
pip install flit
```

## code
```
cd PATH_TO_CODE
flit install --deps production
```

## run
```
cd PATH_TO_RUN
conda activate tompy
```
atopy 1.0.0
Python Common Library
Requires Python: >=3.12

# atopy
Python Common Library

# Install
## conda
```
conda create -n atopy python=3.12
conda activate atopy
pip install flit
```

## code
```
cd PATH_TO_CODE
flit install --deps production
```

## run
```
cd PATH_TO_RUN
conda activate atopy
```
stringf 0.0.7
Functions for strings and lists
Keywords: python,string,English,words,functions


String:
    -NEW-
    Added list_to_str(list) function
    Fixed module not importing bug
    A package that has several functions to work with strings and English words.
    Functions-

    plural-Converts any word to plural form.
    e.g. plural("python")-"pythons"

    join: joins two words e.g. 'pyt','hon'-'python'

    add: Like the join() functions but can join word after the letter at the specified position
    e.g. add("bore",1,"ef")-'before'

    reverse: Reverses a string 
    e.g. reverse("python")-"nohtyp"

Lists:
    list_to_str: Convert a list into a string e.g. ['p','y','t','h','o','n']-'python'

More functions coming soon!