Build A Data Storage API

₹ 1,500.00 — 12,500.00 INR
Objective
In this section you need to implement a file data storage solution with an API for creation, deletion, selective edition, querying and fetching.

Data generation
You may use any programming language you prefer to write your code.
You are given a python 3 script to generate data, generate_rand_file.py.(will provide later on).
The command line parameters are as follows:

Keyword Description
string-A space-separated string to include chunks of at random places in the generated file
files_directory-The directory path for the generated file to be written into


The script generates a ~10MB text file containing a random string including spaces but no line breaks.

Requirements
The API you create will be tested with a scenario of commands that will be given later.

Your API functionalities:
1.
Add a file to the storage given its name and content
2.
Delete a file given its name
3.
Retrieve a file given its name (bonus: pretty print the retrieved file content)
4.
Count the number of occurrences of ‘Welcome’, ‘to’ and ‘Cloud’ in a file given its name.
5.
Count the number of occurrences of a string S in a file, given S and the file name.
6.
Mark a file as ‘outdated’
7.
List ‘outdated’ files
Bonus:
1.
Lock or unlock a file given its name.
A file that is locked can not be accessed by any other process but the process owning the lock
2.
Get a file status given its name.
The status is one of ‘opened for reading’, ‘opened for writing’, ‘closed’

Test scenarios
In order to test your API, you’ll be asked to go through a sequence of calls to the functionalities.
Following is an example of such a scenario:
1.
Create 100 files, using the given script, omitting the string argument
2.
Add the generated files to the storage
3.
Delete one of the file in the storage
4.
Print the content of a file F in the storage
5.
Print the count of occurrence's of ‘Cloud’ in F
6.
Create 1 file, using the given script, with string=’a random string’
7.
Add the generated file to the storage
8.
Print the count of occurrences of ‘random’ in the newest file
9.
Mark file F as ‘outdated’
10.
Print the name of all the ‘outdated’ files in the storage

Similar Freelance jobs:

Zamaso Inc
I need scripts from textnow or any wesbsite of sending free sms With this script i need to send bulk sms
Full Description of Zamaso inc
I Want To Build A Tool Using Hap.py Benchmarking (nist) To Validate Any Vcf File By Running The File
The inputs to hap.py are two VCF files (a "truth" and a "query" file), the truth file is found here https://www.nature.com/articles/sdata201625/tables/3 which includes extensive genome sequencing for 1 person. So we can validate any VCF file by comparing our VCF with the truth VCF and the outcome will include a table with TP FP TN FN and precision with the sensitivity you can read more about it on this page: https://github.com/RealTimeGenomics/rtg-tools https://github.com/Illumina/hap.py/blob/master/doc/happy.md#working-with-genome-vcfs
Full Description of I want to build a tool using Hap.py…
Api & Web App For Interactive Brokers
I need an API & web app for Interactive brokers that will buy and sale stocks based on settable criteria in the API. The trades will be based on stock information received from a 3rd party data scraping service. The API must be able to trade three separate types of signals. See attached notes and UI layout for details of the project.
Full Description of API & Web App for Interactive Brokers
Secure Link Topology Architecture For Software Defined Networking (sdn)
I'm a researcher in Computer Networks, whose areas of interest in Software Defined Networks. 1.The project is to re-implement the attached file on SLDP: A secure and lightweight link discovery protocol in software defined networking and get the actual results with the use of Mininet emulator and Ryu controller. Also identify the weaknesses of the work 2. After the re-implementation, the weaknesses are to be strengthen 3. propose a secure and distributed link discovery protocol for software defined networking 4.…
Full Description of Secure Link Topology Architecture for Software Defined Networking…
Build An Sram Memory Compiler Based On "openram" Project.
A configurable SRAM compiler written in Python to tile the bit cells and address decoder blocks, extract the Verilog and parasitic RC models, and generate the GDS2 block database. The project should leverage the "openRAM" open source code as much as possible to achieve the above objectives.
Full Description of Build an SRAM memory compiler based on "openRAM"…
Create A Script To Collect Information -- 2
I would like to create a script to automate some repettive task on Excel and to collect some info on Google and a Website
Full Description of Create a script to collect information -- 2
Cerner Millennium 2018 And Latest Expert
We are Looking for an expert who has been working and testing Cerner Millennium Software in the past which is medical Grade Software. we need to run some automation in the software to run and do the quality test Below is the scope of work  Test Process  Cerner Millennium and Support Applications along with the Devices  Test schedules  Patient Scenarios to be Tested  Testing entry and exit criteria agreement  Roles and responsibilities matrix agreement…
Full Description of Cerner Millennium 2018 and Latest Expert
Statistical Tts & Stt Desktop Softwar Engine Which Will Work With Jaws
Desktop voice is desktop-based software that is installed as X-language voice on a computer with Windows operating system. This software engine after installation is used by the operating system to synthesize words in X-Language. This software engine can be used by other application programs such as voice, e.g. in JAWS screen reader this software/voice can be selected so that the words synthesized by JAWS are synthesized in X-Language. Also, this voice can be used by other programs that require the…
Full Description of Statistical TTS & STT Desktop softwar engine which…
Python Program
It is a project for RPA (Robotic Process Automation).
Full Description of Python Program
Maquetador En Odoo
Se Busca desarrollador en Odoo con experiencia maqueando paginas desde cero. Maquetar paginas del sitio web. Maquetar plantillas de correo electrónico
Full Description of Maquetador en odoo
© 2006 — 2026 hirelancer.com is an affiliate website, listing the freelance projects. We are collaborating with other sites like getFreelancer.com. Feel free to bid on any project and good luck! You will need register first, before bidding or posting projects. Basic memberhsip is always free. We might earn commissions from referring you. You will never ever pay additional fees for we referred you.