A program that takes Python classes and turns them into CSS classes.

Overview

PyCSS

What is it?

PyCSS is a micro-framework to speed up the process of writing bulk CSS classes.

How does it do it?

With Python!!!
First download the https://github.com/Jammin-Coder/py-css/tree/main/PythonCSS folder that contains the program files, then in that directory open the app.py file:
app py

Then within app.py and within the CSSClasses class, you write Python classes that translate into CSS:
css

Then you run compile.py with python3 compile.py -o <output_css_file>.css: The -o flag tells the program where to output the compiled CSS file.
Screenshot from 2021-08-02 18-36-47

Then open the css file and make sure it worked:
compiled_css

If you wish to only use a class to structer child classes, then you can place it outside CSSClasses
Screenshot 2021-08-03 153154
DFlex will not be compiled to the output file, but can be inherited by other classes.

You can also inherit properties from other classes:
inheritence

which turns into this:
compiled_inheritence

Then you can use the CSS file in any web-development project!

More docs to come.

Feel free to ask in the discussions tab if you have any problems or questions.

Owner
T.R Batt
Aspiring developer, tech enthusiast, quick learner. Python is my jam.
T.R Batt
Python meta class and abstract method library with restrictions.

abcmeta Python meta class and abstract method library with restrictions. This library provides a restricted way to validate abstract methods. The Pyth

Morteza NourelahiAlamdari 8 Dec 14, 2022
A faster Python generator that get function results from multi-process workers

multiyield This package implements a Python generator that get function results from multi-process workers. The faster_fifo Queue (instead of the stan

Xin Du 1 Nov 18, 2021
Ghost source since the developer of the project quit due to reasons

šŸ‘» Ghost Selfbot The official code for Ghost which was recently discontinued and released to the public. Feel free to use any of the code found in thi

xannyy 2 Mar 24, 2022
JHBuild is a tool designed to ease building collections of source packages, called ā€œmodulesā€.

JHBuild README JHBuild is a tool designed to ease building collections of source packages, called ā€œmodulesā€. JHBuild was originally written for buildi

GNOME Github Mirror 46 Nov 22, 2022
Gerador de dafaces

šŸŽ“ DefaceGenerator Obs: esse script foi criado com a intenĆ§Ć£o de ajudar pessoas iniciantes no hacking que ainda nĆ£o conseguem criar suas prĆ³prias defa

LordShinigami 3 Jan 09, 2022
Stack-overflow-import - Import arbitrary code from Stack Overflow as Python modules.

StackOverflow Importer Do you ever feel like all youā€™re doing is copy/pasting from Stack Overflow? Letā€™s take it one step further. from stackoverflow

Filip Haglund 3.7k Jan 08, 2023
HiQ - A Modern Observability System

šŸ¦‰ A Modern Observability System HiQ is a declarative, non-intrusive, dynamic and transparent tracking system for both monolithic application and dist

Oracle Sample Code 40 Aug 21, 2022
A common, beautiful interface to tabular data, no matter the format

rows No matter in which format your tabular data is: rows will import it, automatically detect types and give you high-level Python objects so you can

Ɓlvaro Justen 834 Jan 03, 2023
This is a simple leaderboard for 30 days of Google Cloud program for students of ASIET

30daysleaderboard #Hacktoberfest - Please don't make changes in readme file. Only improvement in the project will be accepted. Update - Now if you run

5 Oct 29, 2021
Python Project Template

A low dependency and really simple to start project template for Python Projects.

Bruno Rocha 651 Dec 29, 2022
Webcash is an experimental e-cash (electronic cash)

Webcash Webcash is an experimental new electronic cash ("e-cash") that enables decentralized and instant payments to anyone, anywhere in the world. Us

Mark Friedenbach 0 Feb 26, 2022
Cylinder volume calculator features the calculations of the volume of a Right /oblique full cylinder

Cylinder-Volume-Calculator Cylinder volume calculator features the calculations of the volume of a Right /oblique full cylinder. Size : 10.5 mb compat

Abhijeet 4 Nov 07, 2022
Open slidebook .sldy files in Python

Work in progress slidebook-python Open slidebook .sldy files in Python To install slidebook-python requires Python = 3.9 pip install slidebook-python

The Institute of Cancer Research 2 May 04, 2022
GCP Scripts and API Client Toolss

GCP Scripts and API Client Toolss Script Authentication The scripts and CLI assume GCP Application Default Credentials are set. Credentials can be set

3 Feb 21, 2022
A simple python project that can find Tangkeke in a given image.

A simple python project that can find Tangkeke in a given image. Make the real Tangkeke image as a kernel to convolute the target image. The area wher

å¼ åæ—č”” 1 Dec 08, 2021
1st Online Python Editor With Live Syntax Checking and Execution

PythonBuddy šŸ–Šļø šŸ Online Python 3 Programming with Live Pylint Syntax Checking! Usage Fetch from repo: git clone https://github.com/ethanchewy/Python

Ethan Chiu 255 Dec 23, 2022
Lenovo Yoga Ideapad Autocharge

Description This program uses the conservation_mode of Lonovo Ideapad / Yoga not

1 Jan 09, 2022
Secret santa is a fun and easy way to get together with your friends and/or family with a gift for them.

Vaccine Validator Tool to validate domestic New Zealand vaccine passes Create a new virtual environment: python3 -m venv ./venv Activate virtual envi

2 Dec 06, 2021
šŸŖ„ Auto-generate Streamlit UI from Pydantic Models and Dataclasses.

Streamlit Pydantic Auto-generate Streamlit UI elements from Pydantic models. Getting Started ā€¢ Documentation ā€¢ Support ā€¢ Report a Bug ā€¢ Contribution ā€¢

Lukas Masuch 103 Dec 25, 2022
[arXiv 2020] Video Representation Learning with Visual Tempo Consistency

Video Representation Learning with Visual Tempo Consistency [Paper] [Project Page] News Full codebae is coming soon Pretained Models For now, we provi

DeciForce: Crossroads of Machine Perception and Autonomy 24 Nov 23, 2022