Define easy to use and user friendly settings for your programs
Reason this release was yanked:
Old
Project description
sema
sema is a setting maker that lets user change the setting safely and with lots of information about what can be done.
Prototype version!
What is sema
I have faced many setting files that, all the available options for a setting or what does changes mean, are hard to find or the only way to understand most of options is through indirect sites, the other issue is the certainty that am i doing the changes the right way and will i break the system with wrong syntax. In essence settings are painful to deal with, but i am tring to make it easier through giving user a program to alter settings with and shippng informations about settings with the setting it self in a seprate file, so user has some suggestions and informations about what can be done.
Future of sema
This is just a prototype, there are futures that are not done yet like: Tkinter version and support for multivalue for a setting and much more, and there are bugs and also possibility of revisions.
So basiclly there is much to be done, at this phase i just want people to see the idea and give feedbacks to me, i would love to hear about ideas and know why you like or hate this idea. Feel free to ask or say anything.
Installation
For creating and managing settings for developers
Use pip install sema
to install sema
in command line and sema library
or download the project and open terminal in root of the project and type python setup.py build
then type
python setup.py install
sema
and sema -cli
are available in terminal for creating and managing settings for developers
and library is for reading settings in your program.
Reading settings in your program
Use pip install sema
to install sema
in command line and sema library
or download the project and open terminal in root of the project and type python setup.py build
then type
python setup.py install
sema
and sema -cli
are available in terminal for creating and managing settings for developers
and library is for reading settings in your program.
To extract settings in your program use from sema import extract
, for now there is only 1 function in library which
returns the value for given setting name get_value(file_name, setting_name)
.
Altering the settings for users
Use change_setting_cli.py and change_setting_gui.py files in change_setting folder to alter settings.
To give the addresses of .setting file(s) you want this script to be responsible for, there are 2 ways:
1. Enter the addresses in sema_files file line by line, in the same folder as the script
2. Enter them in dot_setting_list
inside the script
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sema-0.1.1.tar.gz
.
File metadata
- Download URL: sema-0.1.1.tar.gz
- Upload date:
- Size: 12.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3b8b3bf22a738170ab7782667a395043553aa8cccbc4038c041514b5bc24217 |
|
MD5 | 85ad3f0b5ff95ddfff3104898ddfe6df |
|
BLAKE2b-256 | 198cff1dc661b035586ec503847a43485e20a58f8a880dc8ff5883e9748e9538 |
File details
Details for the file sema-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: sema-0.1.1-py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77b3a3ac197345b72c38dc7a90dea549ba53155cb535faa6f382941de5b0b450 |
|
MD5 | d68b2589f8abec88c7fd5586ce6d682e |
|
BLAKE2b-256 | d3075d4144e6a84f36be1a2ab583a675706205e859e098785a7f546be44543f4 |