Giter Club home page Giter Club logo

esf's Introduction

#Esf

Esf is the easiest way to load and save arrays onto files, made for beginners!

###Installing ESF###

pip install esf 
or 
py -3.5 -m pip install esf

Esf makes a great alternative to other file formatting engines, such as JSON or PyYaml. Its functions are really simple, made so even the newest of programmers can understand it without digging deep in stackoverflow :P

Esf makes it as simple as providing a file path for your file to be stored, and naming the file (remember to end it with a .esf format) also remember to use forward slashes when typing in your directory (Backward slashes wont work, so copying and pasting the directory of your choice wont work unless you change all the backward slashes to forward slashes)

also dont put your file in the filepath, add your file name on the second arguent of the EasySaveFunctions class ###Getting started with ESF###

import esf
f = EasySaveFunctions('C:/Users/your/file/path', 'test.esf')

###Now you can get started with ESF!###

Esf aims at keeping things as simple as possible, infact its so simple you can treat your file as an array! Yup there is no need to worry about saving and loading files, esf does it for you ;)

####Add something to your file####

f.append('Thing')

####Remove something from your file####

f.pop(item)

####Replace an item on your file####

f.replace(item, 'Thing')

###If you feel like having more control of your .esf files, esf has functions for you too###

####Get an index from your file (Works just like list.index)####

f.index(payload)

####Return your file as a list for you to edit as you wish####

list = f.get_list()

####Save a list of your choice into your file (Overwrites what was previously there)####

f.upload_list(list)

####Delete you file (Create a new EasySaveFunctions session after doing this)####

f.delete()

Esf can also create directories, if the directory you type in isnt found, ESF does it for you (; We believe everyone should be able to save their data, even beginners (;

esf's People

Contributors

encloinc avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

itselijahciali

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.