Principal Software Engineer - Python
BackendPosted yesterdayvia Himalayas, a remote job board
- Work type
- RemoteIn the US
- Experience
- 12+ years
- Pay
- $150k–300k a year
- Posted
- Yesterday
Skills it mentions
Add your skills to see which ones you have.
About the job
Job Title: Principal Software Engineer - Python
Job Location: Boston, MA, US
Job Location Type: Remote
Job Contract Type: Full-time
Job Seniority Level:
Veeva Systems is a mission-driven organization and pioneer in industry cloud, helping life sciences companies bring therapies to patients faster. As one of the fastest-growing SaaS companies in history, we surpassed $3B in revenue in our last fiscal year with extensive growth potential ahead.At the heart of Veeva are our values: Do the Right Thing, Customer Success, Employee Success, and Speed. We're not just any public company – we made history in 2021 by becoming a public benefit corporation (PBC), legally bound to balancing the interests of customers, employees, society, and investors.As a Work Anywhere company, we support your flexibility to work from home or in the office, so you can thrive in your ideal environment.Join us in transforming the life sciences industry, committed to making a positive impact on its customers, employees, and communities.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
- Applicants must have the unrestricted right to work in the United States. Veeva will not provide sponsorship at this time
Interviewing with Veeva
We value your time and believe in a transparent hiring process. Here is the process you can expect.
- 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.
- 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 practical case exercise
- A final conversation with our group's Senior Leader.
- Once all interviews are complete, the manager will be in touch with a final decision.
Perks & Benefits
- Medical, dental, vision, and basic life insurance
- Flexible PTO and company paid holidays
- Retirement programs
- 1% charitable giving program
Compensation
- Base pay: $150,000 - $300,000
- 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.
This job is curated by Lifelancer.
Lifelancer is a talent-hiring platform in Life Sciences, Pharma and IT. The platform connects talent with opportunities in pharma, biotech, health sciences, healthtech and IT domains.
Please apply via Lifelancer platform to get connected to the application page and to find similar roles.
Originally posted on Himalayas
Interested?Principal Software Engineer - Python at Lifelancer
Apply on Himalayas (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.
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)
How can I enable CORS in FastAPI?FastAPI
you can find answer from this:fastapi cors
then this is a very simple code to achieve it:
create a python file and named it
main.py.add code in this file.
from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware app = FastAPI() origins = ["*"] app.add_middleware( CORSMiddleware, allow_origins=origins, allow_credentials=True, allow_methods=["*"], allow_headers=["*"], ) @app.get("/") async def main(): return {"message": "Hello World"}and run this app:
uvicorn main:app --reload --host 0.0.0.0 --port 8000if you computer ip is 192.12.12.12
you can check this link and just write a small javascript in html:
<script> fetch("http://192.12.12.12:8000/").then((Response) => { return Response.json() }).then((data) => { console.log(data); }) </script>From Stack Overflow: asked by user270199, answered by yuanzz (CC BY-SA 4.0)
What is the difference between __str__ and __repr__?Python
Alex Martelli summarized well but, surprisingly, was too succinct.
First, let me reiterate the main points in Alex’s post:
- The default implementation is useless (it’s hard to think of one which wouldn’t be, but yeah)
__repr__goal is to be unambiguous__str__goal is to be readable- Container’s
__str__uses contained objects’__repr__
Default implementation is useless
This is mostly a surprise because Python’s defaults tend to be fairly useful. However, in this case, having a default for
__repr__which would act like:return "%s(%r)" % (self.__class__, self.__dict__)Or in new f-string formatting:
return f"{self.__class__!s}({self.__dict__!r})"would have been too dangerous (for example, too easy to get into infinite recursion if objects reference each other). So Python cops out. Note that there is one default which is true: if
__repr__is defined, and__str__is not, the object will behave as though__str__=__repr__.This means, in simple terms: almost every object you implement should have a functional
__repr__that’s usable for understanding the object. Implementing__str__is optional: do that if you need a “pretty print” functionality (for example, used by a report generator).The goal of
__repr__is to be unambiguousLet me come right out and say it — I do not believe in debuggers. I don’t really know how to use any debugger, and have never used one seriously. Furthermore, I believe that the big fault in debuggers is their basic nature — most failures I debug happened a long long time ago, in a galaxy far far away. This means that I do believe, with religious fervor, in logging. Logging is the lifeblood of any decent fire-and-forget server system. Python makes it easy to log: with maybe some project specific wrappers, all you need is a
log(INFO, "I am in the weird function and a is", a, "and b is", b, "but I got a null C — using default", default_c)But you have to do the last step — make sure every object you implement has a useful repr, so code like that can just work. This is why the “eval” thing comes up: if you have enough information so
eval(repr(c))==c, that means you know everything there is to know aboutc. If that’s easy enough, at least in a fuzzy way, do it. If not, make sure you have enough information aboutcanyway. I usually use an eval-like format:"MyClass(this=%r,that=%r)" % (self.this,self.that). It does not mean that you can actually construct MyClass, or that those are the right constructor arguments — but it is a useful form to express “this is everything you need to know about this instance”.Note: I used
%rabove, not%s. You always want to userepr()[or%rformatting character, equivalently] inside__repr__implementation, or you’re defeating the goal of repr. You want to be able to differentiateMyClass(3)andMyClass("3").The goal of
__str__is to be readableSpecifically, it is not intended to be unambiguous — notice that
str(3)==str("3"). Likewise, if you implement an IP abstraction, having the str of it look like 192.168.1.1 is just fine. When implementing a date/time abstraction, the str can be "2010/4/12 15:35:22", etc. The goal is to represent it in a way that a user, not a programmer, would want to read it. Chop off useless digits, pretend to be some other class — as long is it supports readability, it is an improvement.Container’s
__str__uses contained objects’__repr__This seems surprising, doesn’t it? It is a little, but how readable would it be if it used their
__str__?[moshe is, 3, hello world, this is a list, oh I don't know, containing just 4 elements]Read the rest at the sourceFrom Stack Overflow: asked by Casebash, answered by moshez (CC BY-SA 4.0)
How to read body as any valid json?FastAPI
You can find nearly everything inside the
RequestobjectYou are able to get request body with
request.json(), which will give you the parsed JSON as dictionary.from fastapi import Request, FastAPI @app.post("/dummypath") async def get_body(request: Request): return await request.json()If you want access the body as string, you can use
request.body()From Stack Overflow: asked by caeus, answered by Yagiz Degirmenci (CC BY-SA 4.0)
How do I share global variables across modules?Python
The canonical way to share information across modules within a single program is to create a special module (often called config or cfg). Just import the config module in all modules of your application; the module then becomes available as a global name. Because there is only one instance of each module, any changes made to the module object get reflected everywhere. For example:
config.py:
x = 0 # Default value of the 'x' configuration setting
mod.py:
import config config.x = 1
main.py:
import config import mod print(config.x)
Note that using a module is also the basis for implementing the singleton design pattern, for the same reason.
From Python Frequently Asked Questions (PSF License Version 2)
Why should we hire you?Behavioural
The strengths employers look for will depend on the job role. They may ask you questions like:
- what are your main strengths?
- why should we hire you?
You can use specific examples to highlight your strengths, such as:
- communication - to show you get on with others
- problem solving - to show that you can find solutions
- enthusiasm - to show that you have a positive attitude to work
- flexibility - to show that you can adapt to different ways of working
Plan your answers around 2 or 3 examples that are relevant to the job. You can back these up with qualifications or training you've done.
From National Careers Service: interview advice (Open Government Licence v3.0)
Similar jobs
- Software LeadClera, San Francisco Bay Area, on-siteToday
- Ruby API Senior Developer (Remote Opportunity)VetsEZ, Remote in the USToday
- Software Developer – Enterprise Microservices and API SystemsGeneral Dynamics Information Technology, Remote in the USToday
- Systems/Software Engineer - Interface DevelopmentCACI International Inc, Remote in the USToday
More like this: Backend developer jobs in the USA (630) and Remote Backend developer jobs in the USA (356)



