Principal Software Engineer - Python
BackendPosted over 2 months agofrom Veeva Systems's own hiring page
- Work type
- RemoteIn Canada
- Experience
- 12+ years
- Pay
- C$180k–275k a year
- Posted
- Over 2 months agoOpen 6 months
Skills it mentions
Add your skills to see which ones you have.
About the job
The Role
As Principal Software Engineer for a new product within Veeva, you will be a founding member of a team building our next major AI-driven platform — one that will transform how Life Sciences companies manage safety, regulatory, and clinical development. You will influence and help grow a codebase and engineering organization from the ground up, wearing multiple hats across the engineering organization. The team will be AI-first in two meaningful ways: using AI to drive engineering productivity and strong engineering discipline, and building a product that applies AI in genuinely innovative ways to problems that matter. Within your first year, you will have live customers on the platform and a thriving, growing team behind it - directly accelerating how customers bring life-saving products to market.What You'll Do
- Full Feature Ownership: Own all stages of feature implementation, from design and development through deployment, production support, and maintenance. Daily code contribution using AI assistance for productivity
- Drive Solutions: Collaborate with Product Management and Development on technical design and problem-solving to deliver great code
- Rapid Problem Solving: Quickly analyze complex problems, identifying knowns and unknowns, to accelerate the path to robust solutions
- Develop Best Practices: Define, promote, and mentor on engineering best practices and coding standards, including the latest approaches to AI assisted engineering
- Expert Code Review: Provide comprehensive code reviews for engineers of all experience levels
- Strategic Mentorship: Develop the skills of engineering talent through structured mentorship
Requirements
- Seasoned Software Engineer: 12+ years of proven software development expertise (Production level Python development required)
- Enterprise SaaS Leader: Extensive experience developing high-scale enterprise SaaS cloud applications
- Scalability Expert: Proven track record of architecting and building high-volume products at scale
- Open Source Proficiency: Hands-on development experience with current open-source tools and technologies, including Python, Git, FastAPI, Pydantic
- Fast-Paced Adaptability: Highly driven and flexible, enjoys a fast-paced start-up environment, and believes in having fun along the way
- Mentorship: Proven ability to mentor and elevate team performance, fostering growth and excellence
- High work ethic: Veeva is a hard-working company
- High integrity and honesty: Veeva is a PBC and a “do the right thing” company. We expect that from all employees
- Excellent verbal and written English communication skills: Engineering is not all about the code, it’s also about communication
Interviewing with Veeva
- Follow the application process and submit your resume.
- Within 3 days, you will receive a link to a personality assessment administered by a third party, unless you have already completed it with Veeva previously.
- Once you complete the assessment, our team will review your full application package and follow up via email with our decision.
- If moving to the interview stage, the process is as follows:
- A conversation with the hiring manager
- A technical/coding skills exercise
- A final panel interview with team members and senior leaders
- Once all interviews are complete, the manager will be in touch with a final decision.
We value your time and believe in a transparent hiring process. Here is the process you can expect.
Perks & Benefits
- Medical, dental, vision, and basic life insurance
- PTO and company-paid holidays
- Retirement programs
- 1% charitable giving program
Compensation
- Base pay: $180,000 - $275,000 CAD
- The salary range listed here has been provided to comply with local regulations and represents a potential base salary range for this role. Please note that actual salaries may vary within the range above or below, depending on experience and location. We look at compensation for each individual and base our offer on your unique qualifications, experience, and expected contributions. This position may also be eligible for other types of compensation in addition to base salary, such as variable bonus and/or stock bonus.
Veeva’s headquarters is located in the San Francisco Bay Area with offices in more than 15 countries around the world. Veeva is an equal opportunity employer. All qualified applicants will receive consideration for employment without regard to race, color, sex, sexual orientation, gender identity or expression, religion, national origin or ancestry, age, disability, marital status, pregnancy, protected veteran status, protected genetic information, political affiliation, or any other characteristics protected by local laws, regulations, or ordinances. If you need assistance or accommodation due to a disability or special need when applying for a role or in our recruitment process, please contact us at talent_accommodations@veeva.com.
1 more opening for this job
Veeva Systems posts this job once per place or skill set. Pick the one that fits you.
Interested?Principal Software Engineer - Python at Veeva Systems
Apply on company site (opens in a new tab)The job ad ends here
Interview questions for this job6 with answers, on Python and FastAPI
Interview questions for this job
For the skills the ad mentions: Python and FastAPI.
Why does -22 // 10 return -3?Python
It’s primarily driven by the desire that
i % jhave the same sign asj. If you want that, and also want:i == (i // j) * j + (i % j)
then integer division has to return the floor. C also requires that identity to hold, and then compilers that truncate
i // jneed to makei % jhave the same sign asi.There are few real use cases for
i % jwhenjis negative. Whenjis positive, there are many, and in virtually all of them it’s more useful fori % jto be>= 0. If the clock says 10 now, what did it say 200 hours ago?-190 % 12 == 2is useful;-190 % 12 == -10is a bug waiting to bite.From Python Frequently Asked Questions (PSF License Version 2)
Architecture Flask vs FastAPIFastAPI
This seemed a little interesting, so i ran a little tests with
ApacheBench:Flask
from flask import Flask from flask_restful import Resource, Api app = Flask(__name__) api = Api(app) class Root(Resource): def get(self): return {"message": "hello"} api.add_resource(Root, "/")FastAPI
from fastapi import FastAPI app = FastAPI(debug=False) @app.get("/") async def root(): return {"message": "hello"}I ran 2 tests for FastAPI, there was a huge difference:
gunicorn -w 4 -k uvicorn.workers.UvicornWorker fast_api:appuvicorn fast_api:app --reload
So here is the benchmarking results for 5000 requests with a concurrency of 500:
FastAPI with Uvicorn Workers
Concurrency Level: 500 Time taken for tests: 0.577 seconds Complete requests: 5000 Failed requests: 0 Total transferred: 720000 bytes HTML transferred: 95000 bytes Requests per second: 8665.48 [#/sec] (mean) Time per request: 57.700 [ms] (mean) Time per request: 0.115 [ms] (mean, across all concurrent requests) Transfer rate: 1218.58 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 6 4.5 6 30 Processing: 6 49 21.7 45 126 Waiting: 1 42 19.0 39 124 Total: 12 56 21.8 53 127 Percentage of the requests served within a certain time (ms) 50% 53 66% 64 75% 69 80% 73 90% 81 95% 98 98% 112 99% 116 100% 127 (longest request)FastAPI - Pure Uvicorn
Concurrency Level: 500 Time taken for tests: 1.562 seconds Complete requests: 5000 Failed requests: 0 Total transferred: 720000 bytes HTML transferred: 95000 bytes Requests per second: 3200.62 [#/sec] (mean) Time per request: 156.220 [ms] (mean) Time per request: 0.312 [ms] (mean, across all concurrent requests) Transfer rate: 450.09 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 8 4.8 7 24 Processing: 26 144 13.1 143 195 Waiting: 2 132 13.1 130 181 Total: 26 152 12.6 150 203 Percentage of the requests served within a certain time (ms) 50% 150 66% 155 75% 158 80% 160 90% 166 95% 171 98% 195 99% 199 100% 203 (longest request)For Flask:
Concurrency Level: 500 Time taken for tests: 27.827 seconds Complete requests: 5000 Failed requests: 0 Total transferred: 830000 bytes HTML transferred: 105000 bytes Requests per second: 179.68 [#/sec] (mean) Time per request: 2782.653 [ms] (mean) Time per request: 5.565 [ms] (mean, across all concurrent requests) Transfer rate: 29.13 [Kbytes/sec] received Connection Times (ms) min mean[+/-sd] median max Connect: 0 87 293.2 0 3047 Processing: 14 1140 4131.5 136 26794 Waiting: 1 1140 4131.5 135 26794 Total: 14 1227 4359.9 136 27819 Percentage of the requests served within a certain time (ms) 50% 136 66% 148 75% 179 80% 198 90% 295 95% 7839 98% 14518 99% 27765 100% 27819 (longest request)Total results
Flask: Time taken for tests: 27.827 seconds
FastAPI - Uvicorn: Time taken for tests: 1.562 seconds
FastAPI - Uvicorn Workers: Time taken for tests: 0.577 seconds
With Uvicorn Workers FastAPI is nearly 48x faster than Flask, which is very understandable. ASGI vs WSGI, so i ran with 1 concurreny:
FastAPI - UvicornWorkers: Time taken for tests: 1.615 seconds
FastAPI - Pure Uvicorn: Time taken for tests: 2.681 seconds
Flask: Time taken for tests: 5.541 seconds
I ran more tests to test out Flask with a production server.
5000 Request 1000 Concurrency
Read the rest at the sourceFrom Stack Overflow: asked by Justin Yeoh, answered by Yagiz Degirmenci (CC BY-SA 4.0)
What is __init__.py for?Python
It used to be a required part of a package (old, pre-3.3 "regular package", not newer 3.3+ "namespace package").
Python defines two types of packages, regular packages and namespace packages. Regular packages are traditional packages as they existed in Python 3.2 and earlier. A regular package is typically implemented as a directory containing an
__init__.pyfile. When a regular package is imported, this__init__.pyfile is implicitly executed, and the objects it defines are bound to names in the package’s namespace. The__init__.pyfile can contain the same Python code that any other module can contain, and Python will add some additional attributes to the module when it is imported.But just click the link, it contains an example, more information, and an explanation of namespace packages, the kind of packages without
__init__.py.From Stack Overflow: asked by Mat, answered by Loki (CC BY-SA 4.0)
is there a difference between running fastapi from uvicorn command in dockerfile and from pythonfile?FastAPI
Update (on 2022-12-31)
As an update from @Marcelo Trylesinski, from uvicorn
v 0.19.0, the--debugflag was removed (Ref #1640).No, there is no difference.
The commadline run method (
uvicorn app.main:app) and executing the app.py using python command (python app.py) are the same. Both methods are calling theuvicorn.main.run(...)function under the hood.In other words, the
uvicorncommand is a shortcut to theuvicorn.run(...)function.So, in your case the function call
uvicorn.run("app.app:app",host='0.0.0.0', port=4557, reload=True, debug=True, workers=3)can be done by uvicorn commandline as,
uvicorn app.app:app --host 0.0.0.0 --port 4557 --reload --debug --workers 3Side Notes
The --debug option is hidden from the command line options help page, but it can be found in the source code. Thus, it feels running the app using
uvicorncommand can be considered as a production thing.From Stack Overflow: asked by cerofrais, answered by JPG (CC BY-SA 4.0)
How do I use strings to call functions/methods?Python
There are various techniques.
The best is to use a dictionary that maps strings to functions. The primary advantage of this technique is that the strings do not need to match the names of the functions. This is also the primary technique used to emulate a case construct:
def a(): pass def b(): pass dispatch = {'go': a, 'stop': b} # Note lack of parens for funcs dispatch[get_input()]() # Note trailing parens to call functionUse the built-in function
getattr():import foo getattr(foo, 'bar')()
Note that
getattr()works on any object, including classes, class instances, modules, and so on.This is used in several places in the standard library, like this:
class Foo: def do_foo(self): ... def do_bar(self): ... f = getattr(foo_instance, 'do_' + opname) f()Use
locals()to resolve the function name:def myFunc(): print("hello") fname = "myFunc" f = locals()[fname] f()
From Python Frequently Asked Questions (PSF License Version 2)
Can you tell us about a personal achievement at work?Behavioural
Employers usually base questions on jobs you have done in the past. This gives you the chance to talk about your experience. For instance, they might ask:
- when have you faced a challenging situation?
- can you tell us about a personal achievement at work?
- have you ever taken the initiative?
- have you ever failed at a task?
Your answers should reflect the skills the employer wants. Be positive and tailor your examples to the job description.
If you don't have much work history, you can use examples from outside of work. You can also use examples from volunteering experience.
Use the STAR method to help structure your answers.From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Senior Backend EngineerVenn, Toronto, on-site6 days ago
- Intermediate Java Developer - MontrealBounteous, Toronto, hybrid8 days ago
- Senior Backend Developer - Java/Spring BootCapco, Toronto, on-site9 days ago
- Senior Software Engineer, BackendToast, Remote, Toronto11 days ago
More like this: Backend developer jobs in Toronto (53), Jobs in Toronto (1,712) and Backend developer jobs in Canada (175)



